open-index/open-npm huggingface dataset:
npm package: @mparticle/aquarium
Description: mParticle Component Library
Latest version: 2.2.0

![higgs_aquarium](https://github.com/user-attachments/assets/7c883814-792b-4a72-9621-94c16be6753f)

<a href="https://mparticle.github.io/aquarium/" target="_blank"><img src="https://raw.githubusercontent.com/storybooks/brand/master/badge/badge-storybook.svg"></a>
&nbsp;&nbsp;

# mParticle Aquarium

mParticle Component Library built on top of [Ant Design](https://ant.design/).

_Components That Scale_

## Installation

<a href="https://github.com/mParticle/aquarium/blob/main/LLM_SETUP_PROMPT.md" target="_blank"><img src="https://img.shields.io/badge/📋_Setup_with_LLM-blue?style=flat" alt="Setup with LLM"></a>

### Requirements

| Dependency | Version     | Notes                    |
| ---------- | ----------- | ------------------------ |
| React      | `>=19.0.0`  | React 19+                |
| React DOM  | `>=19.0.0`  | Must match React version |
| Node.js    | `>=24.12.0` | For development          |

### Quick Start

```bash
yarn add @mparticle/aquarium antd@6 dayjs@1
```

Or with npm:

```bash
npm install @mparticle/aquarium antd@6 dayjs@1
```

### Setup

Add the CSS reset to your app entry point (`_app.tsx`, `layout.tsx`, or `index.tsx`):

```typescript
import 'antd/dist/reset.css'
```

### Usage

```tsx
import { Button, Space, Typography } from '@mparticle/aquarium'
import { PaddingSm } from '@mparticle/aquarium/dist/style'

export const MyComponent = () => {
  return (
    <Space direction="vertical">
      <Typography.Title level={3}>Hello Aquarium</Typography.Title>
      <Typography.Text>Successfully installed!</Typography.Text>
      <Space>
        <Button type="primary" style={{ paddingLeft: PaddingSm }}>
          Primary
        </Button>
        <Button>Default</Button>
      </Space>
    </Space>
  )
}
```

## Development

Clone the repository and install dependencies:

```bash
git clone git@github.com:mParticle/aquarium.git
cd aquarium
npm install
```

Run Storybook for local development:

```bash
npm run storybook
```

Run unit tests:

```bash
npm run test-storybook
```

## Contributing

See [CONTRIBUTING.md](https://github.com/mParticle/aquarium/blob/main/CONTRIBUTING.md).

Please make sure any new or updated components are present, tested and verified within [Storybook](https://storybook.js.org/).

## Support

<support@mparticle.com>

## License

mParticle's Aquarium is available under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0). See the LICENSE file for more info.
npm package: @mparticle/audience-typescript-schema
Description: TypeScript schema definitions for mParticle Audiences
Latest version: 1.6.0

# mParticle Audience Schema

This repository contains TypeScript schema definitions for mParticle Audiences. It provides type-safe interfaces and types for working with mParticle's audience features.

## Overview

The schema is organized into several key components:

- [Operands](./operand/): Basic data types and operations that can be performed on audience data
- [Expressions](./expression/): Complex logical expressions that combine operands
- [Queries](./query/): Complete audience query definitions

## Installation

```bash
npm install @mparticle/audience-typescript-schema
# or
yarn add @mparticle/audience-typescript-schema
```

## Setup

Before using or developing with this package, ensure you have the following prerequisites:

- [Node.js](https://nodejs.org/) (version 20 or higher recommended)
- [yarn](https://yarnpkg.com/) or [npm](https://www.npmjs.com/)
- The [`jq`](https://stedolan.github.io/jq/) command-line JSON processor must be installed and available in your system's `PATH`.

To verify `jq` is installed, run:

```bash
jq --version
```

If you do not have `jq`, you can install it using [Homebrew](https://brew.sh/) on macOS:

```bash
brew install jq
```

Or see the [jq installation guide](https://stedolan.github.io/jq/download/) for other platforms.

## Usage

```typescript
import { Audience, Query, Expression, Operand } from '@mparticle/audience-typescript-schema';

// Create audience queries with type safety
const query: Query = {
  // Your query definition here
};
```

## Project Structure

- `operand/`: Contains basic data types and operations
- `expression/`: Defines logical expressions and operators
- `query/`: Implements audience query structures
- `common/`: Shared types and utilities
- `dist/`: Compiled JavaScript output

## Development

To build the project:

```bash
yarn build
# or
npm run build
```

### Updating the Schema

Whenever you make changes to the schema definitions, you must regenerate the schema output by running:

```bash
npm run gen-schema
```

This ensures that all generated files are up to date with your changes.

### Updating Title Paths in add_titles_to_schema.sh

If you add, remove, or rename types or titles in the schema, you will need to update the relevant JSONPath mappings in [`scripts/add_titles_to_schema.sh`](./scripts/add_titles_to_schema.sh) to reflect these changes. This script relies on hardcoded paths to insert titles into the schema, so keeping these paths accurate is necessary for correct schema generation.

## License

Apache License 2.0
npm package: @mparticle/cordova-rokt-kit
Description: Adds support for Rokt to your Cordova project
Latest version: 3.0.0

# cordova-plugin-mparticle-kits-rokt

Cordova plugin that adds mParticle Rokt kit native dependencies to your project.

## What This Plugin Does

This plugin automatically adds the following native dependencies:

- **Android**: `com.mparticle:android-rokt-kit:5.71.0`
- **iOS**: `mParticle-Rokt` version `8.3.0`

No additional configuration needed - just install the plugin and the dependencies will be added automatically when you build your project.
npm package: @mparticle/data-planning-models
Description: <img src="https://static.mparticle.com/sdk/mp_logo_black.svg" width="280"><br>
Latest version: 0.1.6

<img src="https://static.mparticle.com/sdk/mp_logo_black.svg" width="280"><br>

[![npm](https://img.shields.io/npm/v/@mparticle/data-planning-models.svg?maxAge=2592000)](https://www.npmjs.com/package/@mparticle/data-planning-models)

# mParticle-data-planning-models

A collection of Data Planning interfaces for mParticle Services using TypeScript.

## Installation

```
npm install @mparticle/data-planning-models
```

## Usage

```typescript
import { DataPlan, DataPlanMatchType, DataPlanValidatorType } from '@mparticle/data-planning-models';

const samplePlan: DataPlan = {
    data_plan_id: 'test-XXXXXXX',
    data_plan_name: 'This is a test data plan',
    data_plan_description: 'Ipsum Lorem',
    data_plan_versions: [
        {
            version: 1,
            version_document: {
                data_points: [
                    {
                        match: {
                            type: DataPlanMatchType.CustomEvent,
                            criteria: {
                                event_name: 'My Custom Event',
                                custom_event_type: 'navigation',
                            },
                        },
                        validator: {
                            type: DataPlanValidatorType.JSONSchema,
                            definition: {
                                properties: {},
                            },
                        },
                    },
                ],
            },
        },
    ],
};
```

## License

Copyright 2019 mParticle, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.