@impulse-ui-native/theme 8.1.0 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -0
- package/dist/hooks/index.d.mts +5 -3
- package/dist/hooks/use-colors.hook.d.mts +5 -1
- package/dist/hooks/use-components-tokens.hook.d.mts +5 -1
- package/dist/hooks/use-theme.hook.d.mts +5 -1
- package/dist/hooks/use-themed-styles.d.mts +4 -1
- package/dist/index.d.mts +6 -3
- package/dist/providers/index.d.mts +5 -1
- package/dist/providers/theme.provider.d.mts +5 -1
- package/dist/theme/chart-color-tokens.d.mts +5 -0
- package/dist/theme/chart-color-tokens.js +21 -0
- package/dist/theme/chart-color-tokens.js.map +1 -0
- package/dist/theme/create-accordion-tokens.d.mts +5 -1
- package/dist/theme/create-avatar-tokens.d.mts +5 -1
- package/dist/theme/create-badge-tokens.d.mts +5 -1
- package/dist/theme/create-button-tokens.d.mts +5 -1
- package/dist/theme/create-card-tokens.d.mts +5 -1
- package/dist/theme/create-carousel-tokens.d.mts +5 -1
- package/dist/theme/create-charts-tokens.d.mts +42 -0
- package/dist/theme/create-charts-tokens.js +25 -0
- package/dist/theme/create-charts-tokens.js.map +1 -0
- package/dist/theme/create-checkbox-tokens.d.mts +5 -1
- package/dist/theme/create-control-tokens.d.mts +5 -1
- package/dist/theme/create-data-state-tokens.d.mts +5 -1
- package/dist/theme/create-datetime-picker.d.mts +5 -1
- package/dist/theme/create-divider-tokens.d.mts +5 -1
- package/dist/theme/create-flyout-tokens.d.mts +5 -1
- package/dist/theme/create-flyout-tokens.js +2 -0
- package/dist/theme/create-flyout-tokens.js.map +1 -1
- package/dist/theme/create-icon-button-tokens.d.mts +5 -1
- package/dist/theme/create-list-tokens.d.mts +5 -1
- package/dist/theme/create-modal-tokens.d.mts +5 -1
- package/dist/theme/create-modal-tokens.js +2 -0
- package/dist/theme/create-modal-tokens.js.map +1 -1
- package/dist/theme/create-pagination-tokens.d.mts +5 -1
- package/dist/theme/create-popover-tokens.d.mts +5 -1
- package/dist/theme/create-progress-tokens.d.mts +5 -1
- package/dist/theme/create-radio-tokens.d.mts +5 -1
- package/dist/theme/create-segmented-control-tokens.d.mts +5 -1
- package/dist/theme/create-select-tokens.d.mts +5 -1
- package/dist/theme/create-skeleton-tokens.d.mts +5 -1
- package/dist/theme/create-slider-tokens.d.mts +5 -1
- package/dist/theme/create-slider-tokens.js +3 -0
- package/dist/theme/create-slider-tokens.js.map +1 -1
- package/dist/theme/create-spinner-tokens.d.mts +5 -1
- package/dist/theme/create-stepper-tokens.d.mts +5 -1
- package/dist/theme/create-switch-tokens.d.mts +5 -1
- package/dist/theme/create-tabs-tokens.d.mts +5 -1
- package/dist/theme/create-tag-tokens.d.mts +5 -1
- package/dist/theme/create-textarea-tokens.d.mts +5 -1
- package/dist/theme/create-time-picker-tokens.d.mts +5 -1
- package/dist/theme/create-toast-tokens.d.mts +5 -1
- package/dist/theme/create-toast-tokens.js +4 -0
- package/dist/theme/create-toast-tokens.js.map +1 -1
- package/dist/theme/dark.theme.d.mts +5 -1
- package/dist/theme/dark.theme.js +4 -0
- package/dist/theme/dark.theme.js.map +1 -1
- package/dist/theme/index.d.mts +8 -3
- package/dist/theme/index.js +1 -0
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/light.theme.d.mts +5 -1
- package/dist/theme/light.theme.js +4 -0
- package/dist/theme/light.theme.js.map +1 -1
- package/dist/theme/tokens.theme.d.mts +9 -4
- package/dist/theme/tokens.theme.js +5 -17
- package/dist/theme/tokens.theme.js.map +1 -1
- package/dist/{theme-provider.types-B4jCf93c.d.mts → theme-provider.types-CLjz9-IY.d.mts} +10 -1
- package/dist/types/charts-tokens.types.d.mts +31 -0
- package/dist/types/charts-tokens.types.js +1 -0
- package/dist/types/charts-tokens.types.js.map +1 -0
- package/dist/types/flyout-tokens.types.d.mts +6 -0
- package/dist/types/index.d.mts +3 -2
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/modal-tokens.types.d.mts +2 -0
- package/dist/types/shadow.types.d.mts +2 -1
- package/dist/types/slider-tokens.types.d.mts +3 -0
- package/dist/types/theme-provider.types.d.mts +5 -1
- package/dist/types/toast-tokens.types.d.mts +6 -2
- package/dist/utils/index.d.mts +3 -1
- package/dist/utils/style.utils.d.mts +5 -3
- package/dist/utils/style.utils.js +2 -2
- package/dist/utils/style.utils.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { IconButtonTokens } from '../types/buttons-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/modal-tokens.types.mjs';
|
|
9
11
|
import '../types/popover-tokens.types.mjs';
|
|
10
12
|
import '../types/radio-tokens.types.mjs';
|
|
13
|
+
import '../types/shadow.types.mjs';
|
|
14
|
+
import 'react-native';
|
|
11
15
|
import '../types/tabs-tokens.types.mjs';
|
|
12
16
|
import '../types/accordion-tokens.types.mjs';
|
|
13
17
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { ListTokens } from '../types/list-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/modal-tokens.types.mjs';
|
|
8
10
|
import '../types/popover-tokens.types.mjs';
|
|
9
11
|
import '../types/radio-tokens.types.mjs';
|
|
12
|
+
import '../types/shadow.types.mjs';
|
|
13
|
+
import 'react-native';
|
|
10
14
|
import '../types/tabs-tokens.types.mjs';
|
|
11
15
|
import '../types/accordion-tokens.types.mjs';
|
|
12
16
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { ModalTokens } from '../types/modal-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/popover-tokens.types.mjs';
|
|
9
11
|
import '../types/radio-tokens.types.mjs';
|
|
12
|
+
import '../types/shadow.types.mjs';
|
|
13
|
+
import 'react-native';
|
|
10
14
|
import '../types/tabs-tokens.types.mjs';
|
|
11
15
|
import '../types/accordion-tokens.types.mjs';
|
|
12
16
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/theme/create-modal-tokens.ts"],"sourcesContent":["import type { ModalTokens, PrimitiveThemeTokens } from \"../types\";\n\nexport function createModalTokens(tokens: PrimitiveThemeTokens): ModalTokens {\n return {\n zIndexBase: 100,\n overlayColor: tokens.colors.text.tertiary,\n overlayVisibleOpacity: 0.4,\n viewportPadding: tokens.space.sm,\n closedScale: 0.96,\n backgroundColor: tokens.colors.surface.elevated.value,\n borderColor: tokens.colors.border.subtle.value,\n borderWidth: tokens.borderSize.sm,\n borderRadius: tokens.radii.lg,\n padding: tokens.space.sm,\n gap: tokens.space.sm,\n headerGap: tokens.space.xs,\n footerGap: tokens.space.xs,\n titleColor: tokens.colors.text.primary,\n titleFontSize: tokens.fontSize.lg,\n titleLineHeight: tokens.lineHeight.lg,\n descriptionColor: tokens.colors.text.secondary,\n descriptionFontSize: tokens.fontSize.xsm,\n descriptionLineHeight: tokens.lineHeight.xsm,\n sizes: {\n small: { maxWidth: 320 },\n medium: { maxWidth: 440 },\n large: { maxWidth: 640 },\n },\n };\n}\n"],"mappings":"AAEO,SAAS,kBAAkB,QAA2C;AAC3E,SAAO;AAAA,IACL,YAAY;AAAA,IACZ,cAAc,OAAO,OAAO,KAAK;AAAA,IACjC,uBAAuB;AAAA,IACvB,iBAAiB,OAAO,MAAM;AAAA,IAC9B,aAAa;AAAA,IACb,iBAAiB,OAAO,OAAO,QAAQ,SAAS;AAAA,IAChD,aAAa,OAAO,OAAO,OAAO,OAAO;AAAA,IACzC,aAAa,OAAO,WAAW;AAAA,IAC/B,cAAc,OAAO,MAAM;AAAA,IAC3B,SAAS,OAAO,MAAM;AAAA,IACtB,KAAK,OAAO,MAAM;AAAA,IAClB,WAAW,OAAO,MAAM;AAAA,IACxB,WAAW,OAAO,MAAM;AAAA,IACxB,YAAY,OAAO,OAAO,KAAK;AAAA,IAC/B,eAAe,OAAO,SAAS;AAAA,IAC/B,iBAAiB,OAAO,WAAW;AAAA,IACnC,kBAAkB,OAAO,OAAO,KAAK;AAAA,IACrC,qBAAqB,OAAO,SAAS;AAAA,IACrC,uBAAuB,OAAO,WAAW;AAAA,IACzC,OAAO;AAAA,MACL,OAAO,EAAE,UAAU,IAAI;AAAA,MACvB,QAAQ,EAAE,UAAU,IAAI;AAAA,MACxB,OAAO,EAAE,UAAU,IAAI;AAAA,IACzB;AAAA,EACF;AACF;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/theme/create-modal-tokens.ts"],"sourcesContent":["import type { ModalTokens, PrimitiveThemeTokens } from \"../types\";\n\nexport function createModalTokens(tokens: PrimitiveThemeTokens): ModalTokens {\n return {\n enterDuration: 180,\n exitDuration: 150,\n zIndexBase: 100,\n overlayColor: tokens.colors.text.tertiary,\n overlayVisibleOpacity: 0.4,\n viewportPadding: tokens.space.sm,\n closedScale: 0.96,\n backgroundColor: tokens.colors.surface.elevated.value,\n borderColor: tokens.colors.border.subtle.value,\n borderWidth: tokens.borderSize.sm,\n borderRadius: tokens.radii.lg,\n padding: tokens.space.sm,\n gap: tokens.space.sm,\n headerGap: tokens.space.xs,\n footerGap: tokens.space.xs,\n titleColor: tokens.colors.text.primary,\n titleFontSize: tokens.fontSize.lg,\n titleLineHeight: tokens.lineHeight.lg,\n descriptionColor: tokens.colors.text.secondary,\n descriptionFontSize: tokens.fontSize.xsm,\n descriptionLineHeight: tokens.lineHeight.xsm,\n sizes: {\n small: { maxWidth: 320 },\n medium: { maxWidth: 440 },\n large: { maxWidth: 640 },\n },\n };\n}\n"],"mappings":"AAEO,SAAS,kBAAkB,QAA2C;AAC3E,SAAO;AAAA,IACL,eAAe;AAAA,IACf,cAAc;AAAA,IACd,YAAY;AAAA,IACZ,cAAc,OAAO,OAAO,KAAK;AAAA,IACjC,uBAAuB;AAAA,IACvB,iBAAiB,OAAO,MAAM;AAAA,IAC9B,aAAa;AAAA,IACb,iBAAiB,OAAO,OAAO,QAAQ,SAAS;AAAA,IAChD,aAAa,OAAO,OAAO,OAAO,OAAO;AAAA,IACzC,aAAa,OAAO,WAAW;AAAA,IAC/B,cAAc,OAAO,MAAM;AAAA,IAC3B,SAAS,OAAO,MAAM;AAAA,IACtB,KAAK,OAAO,MAAM;AAAA,IAClB,WAAW,OAAO,MAAM;AAAA,IACxB,WAAW,OAAO,MAAM;AAAA,IACxB,YAAY,OAAO,OAAO,KAAK;AAAA,IAC/B,eAAe,OAAO,SAAS;AAAA,IAC/B,iBAAiB,OAAO,WAAW;AAAA,IACnC,kBAAkB,OAAO,OAAO,KAAK;AAAA,IACrC,qBAAqB,OAAO,SAAS;AAAA,IACrC,uBAAuB,OAAO,WAAW;AAAA,IACzC,OAAO;AAAA,MACL,OAAO,EAAE,UAAU,IAAI;AAAA,MACvB,QAAQ,EAAE,UAAU,IAAI;AAAA,MACxB,OAAO,EAAE,UAAU,IAAI;AAAA,IACzB;AAAA,EACF;AACF;","names":[]}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { PaginationTokens } from '../types/pagination-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/modal-tokens.types.mjs';
|
|
9
11
|
import '../types/popover-tokens.types.mjs';
|
|
10
12
|
import '../types/radio-tokens.types.mjs';
|
|
13
|
+
import '../types/shadow.types.mjs';
|
|
14
|
+
import 'react-native';
|
|
11
15
|
import '../types/tabs-tokens.types.mjs';
|
|
12
16
|
import '../types/accordion-tokens.types.mjs';
|
|
13
17
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { PopoverTokens } from '../types/popover-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/modal-tokens.types.mjs';
|
|
9
11
|
import '../types/radio-tokens.types.mjs';
|
|
12
|
+
import '../types/shadow.types.mjs';
|
|
13
|
+
import 'react-native';
|
|
10
14
|
import '../types/tabs-tokens.types.mjs';
|
|
11
15
|
import '../types/accordion-tokens.types.mjs';
|
|
12
16
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { ProgressTokens } from '../types/progress-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/modal-tokens.types.mjs';
|
|
9
11
|
import '../types/popover-tokens.types.mjs';
|
|
10
12
|
import '../types/radio-tokens.types.mjs';
|
|
13
|
+
import '../types/shadow.types.mjs';
|
|
14
|
+
import 'react-native';
|
|
11
15
|
import '../types/tabs-tokens.types.mjs';
|
|
12
16
|
import '../types/accordion-tokens.types.mjs';
|
|
13
17
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { RadioTokens } from '../types/radio-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/modal-tokens.types.mjs';
|
|
9
11
|
import '../types/popover-tokens.types.mjs';
|
|
12
|
+
import '../types/shadow.types.mjs';
|
|
13
|
+
import 'react-native';
|
|
10
14
|
import '../types/tabs-tokens.types.mjs';
|
|
11
15
|
import '../types/accordion-tokens.types.mjs';
|
|
12
16
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { SegmentedControlTokens } from '../types/segmented-control-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/modal-tokens.types.mjs';
|
|
9
11
|
import '../types/popover-tokens.types.mjs';
|
|
10
12
|
import '../types/radio-tokens.types.mjs';
|
|
13
|
+
import '../types/shadow.types.mjs';
|
|
14
|
+
import 'react-native';
|
|
11
15
|
import '../types/tabs-tokens.types.mjs';
|
|
12
16
|
import '../types/accordion-tokens.types.mjs';
|
|
13
17
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { SelectTokens } from '../types/select-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/modal-tokens.types.mjs';
|
|
9
11
|
import '../types/popover-tokens.types.mjs';
|
|
10
12
|
import '../types/radio-tokens.types.mjs';
|
|
13
|
+
import '../types/shadow.types.mjs';
|
|
14
|
+
import 'react-native';
|
|
11
15
|
import '../types/tabs-tokens.types.mjs';
|
|
12
16
|
import '../types/accordion-tokens.types.mjs';
|
|
13
17
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { SkeletonTokens } from '../types/skeleton-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/modal-tokens.types.mjs';
|
|
9
11
|
import '../types/popover-tokens.types.mjs';
|
|
10
12
|
import '../types/radio-tokens.types.mjs';
|
|
13
|
+
import '../types/shadow.types.mjs';
|
|
14
|
+
import 'react-native';
|
|
11
15
|
import '../types/tabs-tokens.types.mjs';
|
|
12
16
|
import '../types/accordion-tokens.types.mjs';
|
|
13
17
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { SliderTokens } from '../types/slider-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/modal-tokens.types.mjs';
|
|
9
11
|
import '../types/popover-tokens.types.mjs';
|
|
10
12
|
import '../types/radio-tokens.types.mjs';
|
|
13
|
+
import '../types/shadow.types.mjs';
|
|
14
|
+
import 'react-native';
|
|
11
15
|
import '../types/tabs-tokens.types.mjs';
|
|
12
16
|
import '../types/accordion-tokens.types.mjs';
|
|
13
17
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -8,6 +8,9 @@ function createSliderTokens(tokens) {
|
|
|
8
8
|
valueBubblePaddingVertical: tokens.space.xxs,
|
|
9
9
|
valueBubbleGap: tokens.space.xxs,
|
|
10
10
|
labelGap: tokens.space.xxs,
|
|
11
|
+
markLabelWidth: tokens.space.lg,
|
|
12
|
+
thumbHighlightSize: tokens.space.xxs,
|
|
13
|
+
valueBubbleMinWidth: 40,
|
|
11
14
|
layouts: {
|
|
12
15
|
default: {
|
|
13
16
|
reservedVerticalSpace: 0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/theme/create-slider-tokens.ts"],"sourcesContent":["import type { PrimitiveThemeTokens, SliderTokens } from \"../types\";\n\nexport function createSliderTokens(tokens: PrimitiveThemeTokens): SliderTokens {\n return {\n trackBorderRadius: tokens.radii.round,\n thumbBorderRadius: tokens.radii.round,\n valueBubbleBorderRadius: tokens.radii.md,\n valueBubbleBorderWidth: tokens.borderSize.sm,\n valueBubblePaddingHorizontal: tokens.space.xs,\n valueBubblePaddingVertical: tokens.space.xxs,\n valueBubbleGap: tokens.space.xxs,\n labelGap: tokens.space.xxs,\n layouts: {\n default: {\n reservedVerticalSpace: 0,\n },\n valueBubble: {\n reservedVerticalSpace: 28 + tokens.space.xxs,\n },\n },\n sizes: {\n small: {\n trackHeight: 4,\n thumbSize: 16,\n markSize: 6,\n },\n medium: {\n trackHeight: 6,\n thumbSize: 20,\n markSize: 6,\n },\n large: {\n trackHeight: 8,\n thumbSize: 24,\n markSize: 8,\n },\n },\n variants: {\n filled: {\n default: {\n activeMarkColor: tokens.colors.primary.contrast,\n activeTrackColor: tokens.colors.primary.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.primary.value,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.primary.value,\n thumbBorderColor: tokens.colors.primary.value,\n thumbBorderWidth: tokens.borderSize.sm,\n thumbHighlightColor: tokens.colors.primary.contrast,\n valueBubbleBackgroundColor: tokens.colors.primary.value,\n valueBubbleBorderColor: tokens.colors.primary.value,\n valueBubbleColor: tokens.colors.primary.contrast,\n },\n focused: {\n activeMarkColor: tokens.colors.primary.contrast,\n activeTrackColor: tokens.colors.primary.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.primary.value,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.primary.value,\n thumbBorderColor: tokens.colors.primary.value,\n thumbBorderWidth: tokens.borderSize.sm,\n thumbHighlightColor: tokens.colors.primary.contrast,\n valueBubbleBackgroundColor: tokens.colors.primary.value,\n valueBubbleBorderColor: tokens.colors.primary.value,\n valueBubbleColor: tokens.colors.primary.contrast,\n },\n disabled: {\n activeMarkColor: tokens.colors.surface.elevated.value,\n activeTrackColor: tokens.colors.border.strong.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.text.disabled,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.border.strong.value,\n thumbBorderColor: tokens.colors.border.strong.value,\n thumbBorderWidth: tokens.borderSize.sm,\n thumbHighlightColor: \"transparent\",\n valueBubbleBackgroundColor: tokens.colors.surface.elevated.value,\n valueBubbleBorderColor: tokens.colors.border.default.value,\n valueBubbleColor: tokens.colors.text.disabled,\n },\n },\n outlined: {\n default: {\n activeMarkColor: tokens.colors.primary.contrast,\n activeTrackColor: tokens.colors.primary.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.primary.value,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.surface.elevated.value,\n thumbBorderColor: tokens.colors.primary.value,\n thumbBorderWidth: tokens.borderSize.md,\n thumbHighlightColor: \"transparent\",\n valueBubbleBackgroundColor: \"transparent\",\n valueBubbleBorderColor: tokens.colors.primary.value,\n valueBubbleColor: tokens.colors.primary.value,\n },\n focused: {\n activeMarkColor: tokens.colors.primary.contrast,\n activeTrackColor: tokens.colors.primary.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.primary.value,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.surface.elevated.value,\n thumbBorderColor: tokens.colors.primary.value,\n thumbBorderWidth: tokens.borderSize.md,\n thumbHighlightColor: \"transparent\",\n valueBubbleBackgroundColor: \"transparent\",\n valueBubbleBorderColor: tokens.colors.primary.value,\n valueBubbleColor: tokens.colors.primary.value,\n },\n disabled: {\n activeMarkColor: tokens.colors.surface.elevated.value,\n activeTrackColor: tokens.colors.border.strong.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.text.disabled,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.border.strong.value,\n thumbBorderColor: tokens.colors.border.strong.value,\n thumbBorderWidth: tokens.borderSize.md,\n thumbHighlightColor: \"transparent\",\n valueBubbleBackgroundColor: tokens.colors.surface.elevated.value,\n valueBubbleBorderColor: tokens.colors.border.default.value,\n valueBubbleColor: tokens.colors.text.disabled,\n },\n },\n soft: {\n default: {\n activeMarkColor: tokens.colors.secondary.contrast,\n activeTrackColor: tokens.colors.secondary.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.secondary.contrast,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.accent.value,\n thumbBorderColor: tokens.colors.accent.value,\n thumbBorderWidth: tokens.borderSize.sm,\n thumbHighlightColor: tokens.colors.accent.contrast,\n valueBubbleBackgroundColor: tokens.colors.secondary.value,\n valueBubbleBorderColor: tokens.colors.secondary.value,\n valueBubbleColor: tokens.colors.secondary.contrast,\n },\n focused: {\n activeMarkColor: tokens.colors.secondary.contrast,\n activeTrackColor: tokens.colors.secondary.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.secondary.contrast,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.accent.value,\n thumbBorderColor: tokens.colors.accent.value,\n thumbBorderWidth: tokens.borderSize.sm,\n thumbHighlightColor: tokens.colors.accent.contrast,\n valueBubbleBackgroundColor: tokens.colors.secondary.value,\n valueBubbleBorderColor: tokens.colors.secondary.value,\n valueBubbleColor: tokens.colors.secondary.contrast,\n },\n disabled: {\n activeMarkColor: tokens.colors.surface.elevated.value,\n activeTrackColor: tokens.colors.border.strong.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.text.disabled,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.border.strong.value,\n thumbBorderColor: tokens.colors.border.strong.value,\n thumbBorderWidth: tokens.borderSize.sm,\n thumbHighlightColor: \"transparent\",\n valueBubbleBackgroundColor: tokens.colors.surface.elevated.value,\n valueBubbleBorderColor: tokens.colors.border.default.value,\n valueBubbleColor: tokens.colors.text.disabled,\n },\n },\n },\n };\n}\n"],"mappings":"AAEO,SAAS,mBAAmB,QAA4C;AAC7E,SAAO;AAAA,IACL,mBAAmB,OAAO,MAAM;AAAA,IAChC,mBAAmB,OAAO,MAAM;AAAA,IAChC,yBAAyB,OAAO,MAAM;AAAA,IACtC,wBAAwB,OAAO,WAAW;AAAA,IAC1C,8BAA8B,OAAO,MAAM;AAAA,IAC3C,4BAA4B,OAAO,MAAM;AAAA,IACzC,gBAAgB,OAAO,MAAM;AAAA,IAC7B,UAAU,OAAO,MAAM;AAAA,IACvB,SAAS;AAAA,MACP,SAAS;AAAA,QACP,uBAAuB;AAAA,MACzB;AAAA,MACA,aAAa;AAAA,QACX,uBAAuB,KAAK,OAAO,MAAM;AAAA,MAC3C;AAAA,IACF;AAAA,IACA,OAAO;AAAA,MACL,OAAO;AAAA,QACL,aAAa;AAAA,QACb,WAAW;AAAA,QACX,UAAU;AAAA,MACZ;AAAA,MACA,QAAQ;AAAA,QACN,aAAa;AAAA,QACb,WAAW;AAAA,QACX,UAAU;AAAA,MACZ;AAAA,MACA,OAAO;AAAA,QACL,aAAa;AAAA,QACb,WAAW;AAAA,QACX,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,UAAU;AAAA,MACR,QAAQ;AAAA,QACN,SAAS;AAAA,UACP,iBAAiB,OAAO,OAAO,QAAQ;AAAA,UACvC,kBAAkB,OAAO,OAAO,QAAQ;AAAA,UACxC,oBAAoB,OAAO,OAAO,OAAO,OAAO;AAAA,UAChD,YAAY,OAAO,OAAO,QAAQ;AAAA,UAClC,WAAW,OAAO,OAAO,KAAK;AAAA,UAC9B,sBAAsB,OAAO,OAAO,QAAQ;AAAA,UAC5C,kBAAkB,OAAO,OAAO,QAAQ;AAAA,UACxC,kBAAkB,OAAO,WAAW;AAAA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R,iBAAiB,OAAO,OAAO,QAAQ,SAAS;AAAA,UAChD,kBAAkB,OAAO,OAAO,OAAO,OAAO;AAAA,UAC9C,oBAAoB,OAAO,OAAO,OAAO,OAAO;AAAA,UAChD,YAAY,OAAO,OAAO,KAAK;AAAA,UAC/B,WAAW,OAAO,OAAO,KAAK;AAAA,UAC9B,sBAAsB,OAAO,OAAO,OAAO,OAAO;AAAA,UAClD,kBAAkB,OAAO,OAAO,OAAO,OAAO;AAAA,UAC9C,kBAAkB,OAAO,WAAW;AAAA,UACpC,qBAAqB;AAAA,UACrB,4BAA4B,OAAO,OAAO,QAAQ,SAAS;AAAA,UAC3D,wBAAwB,OAAO,OAAO,OAAO,QAAQ;AAAA,UACrD,kBAAkB,OAAO,OAAO,KAAK;AAAA,QACvC;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/theme/create-slider-tokens.ts"],"sourcesContent":["import type { PrimitiveThemeTokens, SliderTokens } from \"../types\";\n\nexport function createSliderTokens(tokens: PrimitiveThemeTokens): SliderTokens {\n return {\n trackBorderRadius: tokens.radii.round,\n thumbBorderRadius: tokens.radii.round,\n valueBubbleBorderRadius: tokens.radii.md,\n valueBubbleBorderWidth: tokens.borderSize.sm,\n valueBubblePaddingHorizontal: tokens.space.xs,\n valueBubblePaddingVertical: tokens.space.xxs,\n valueBubbleGap: tokens.space.xxs,\n labelGap: tokens.space.xxs,\n markLabelWidth: tokens.space.lg,\n thumbHighlightSize: tokens.space.xxs,\n valueBubbleMinWidth: 40,\n layouts: {\n default: {\n reservedVerticalSpace: 0,\n },\n valueBubble: {\n reservedVerticalSpace: 28 + tokens.space.xxs,\n },\n },\n sizes: {\n small: {\n trackHeight: 4,\n thumbSize: 16,\n markSize: 6,\n },\n medium: {\n trackHeight: 6,\n thumbSize: 20,\n markSize: 6,\n },\n large: {\n trackHeight: 8,\n thumbSize: 24,\n markSize: 8,\n },\n },\n variants: {\n filled: {\n default: {\n activeMarkColor: tokens.colors.primary.contrast,\n activeTrackColor: tokens.colors.primary.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.primary.value,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.primary.value,\n thumbBorderColor: tokens.colors.primary.value,\n thumbBorderWidth: tokens.borderSize.sm,\n thumbHighlightColor: tokens.colors.primary.contrast,\n valueBubbleBackgroundColor: tokens.colors.primary.value,\n valueBubbleBorderColor: tokens.colors.primary.value,\n valueBubbleColor: tokens.colors.primary.contrast,\n },\n focused: {\n activeMarkColor: tokens.colors.primary.contrast,\n activeTrackColor: tokens.colors.primary.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.primary.value,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.primary.value,\n thumbBorderColor: tokens.colors.primary.value,\n thumbBorderWidth: tokens.borderSize.sm,\n thumbHighlightColor: tokens.colors.primary.contrast,\n valueBubbleBackgroundColor: tokens.colors.primary.value,\n valueBubbleBorderColor: tokens.colors.primary.value,\n valueBubbleColor: tokens.colors.primary.contrast,\n },\n disabled: {\n activeMarkColor: tokens.colors.surface.elevated.value,\n activeTrackColor: tokens.colors.border.strong.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.text.disabled,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.border.strong.value,\n thumbBorderColor: tokens.colors.border.strong.value,\n thumbBorderWidth: tokens.borderSize.sm,\n thumbHighlightColor: \"transparent\",\n valueBubbleBackgroundColor: tokens.colors.surface.elevated.value,\n valueBubbleBorderColor: tokens.colors.border.default.value,\n valueBubbleColor: tokens.colors.text.disabled,\n },\n },\n outlined: {\n default: {\n activeMarkColor: tokens.colors.primary.contrast,\n activeTrackColor: tokens.colors.primary.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.primary.value,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.surface.elevated.value,\n thumbBorderColor: tokens.colors.primary.value,\n thumbBorderWidth: tokens.borderSize.md,\n thumbHighlightColor: \"transparent\",\n valueBubbleBackgroundColor: \"transparent\",\n valueBubbleBorderColor: tokens.colors.primary.value,\n valueBubbleColor: tokens.colors.primary.value,\n },\n focused: {\n activeMarkColor: tokens.colors.primary.contrast,\n activeTrackColor: tokens.colors.primary.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.primary.value,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.surface.elevated.value,\n thumbBorderColor: tokens.colors.primary.value,\n thumbBorderWidth: tokens.borderSize.md,\n thumbHighlightColor: \"transparent\",\n valueBubbleBackgroundColor: \"transparent\",\n valueBubbleBorderColor: tokens.colors.primary.value,\n valueBubbleColor: tokens.colors.primary.value,\n },\n disabled: {\n activeMarkColor: tokens.colors.surface.elevated.value,\n activeTrackColor: tokens.colors.border.strong.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.text.disabled,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.border.strong.value,\n thumbBorderColor: tokens.colors.border.strong.value,\n thumbBorderWidth: tokens.borderSize.md,\n thumbHighlightColor: \"transparent\",\n valueBubbleBackgroundColor: tokens.colors.surface.elevated.value,\n valueBubbleBorderColor: tokens.colors.border.default.value,\n valueBubbleColor: tokens.colors.text.disabled,\n },\n },\n soft: {\n default: {\n activeMarkColor: tokens.colors.secondary.contrast,\n activeTrackColor: tokens.colors.secondary.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.secondary.contrast,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.accent.value,\n thumbBorderColor: tokens.colors.accent.value,\n thumbBorderWidth: tokens.borderSize.sm,\n thumbHighlightColor: tokens.colors.accent.contrast,\n valueBubbleBackgroundColor: tokens.colors.secondary.value,\n valueBubbleBorderColor: tokens.colors.secondary.value,\n valueBubbleColor: tokens.colors.secondary.contrast,\n },\n focused: {\n activeMarkColor: tokens.colors.secondary.contrast,\n activeTrackColor: tokens.colors.secondary.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.secondary.contrast,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.accent.value,\n thumbBorderColor: tokens.colors.accent.value,\n thumbBorderWidth: tokens.borderSize.sm,\n thumbHighlightColor: tokens.colors.accent.contrast,\n valueBubbleBackgroundColor: tokens.colors.secondary.value,\n valueBubbleBorderColor: tokens.colors.secondary.value,\n valueBubbleColor: tokens.colors.secondary.contrast,\n },\n disabled: {\n activeMarkColor: tokens.colors.surface.elevated.value,\n activeTrackColor: tokens.colors.border.strong.value,\n inactiveTrackColor: tokens.colors.border.subtle.value,\n labelColor: tokens.colors.text.disabled,\n markColor: tokens.colors.text.primary,\n thumbBackgroundColor: tokens.colors.border.strong.value,\n thumbBorderColor: tokens.colors.border.strong.value,\n thumbBorderWidth: tokens.borderSize.sm,\n thumbHighlightColor: \"transparent\",\n valueBubbleBackgroundColor: tokens.colors.surface.elevated.value,\n valueBubbleBorderColor: tokens.colors.border.default.value,\n valueBubbleColor: tokens.colors.text.disabled,\n },\n },\n },\n };\n}\n"],"mappings":"AAEO,SAAS,mBAAmB,QAA4C;AAC7E,SAAO;AAAA,IACL,mBAAmB,OAAO,MAAM;AAAA,IAChC,mBAAmB,OAAO,MAAM;AAAA,IAChC,yBAAyB,OAAO,MAAM;AAAA,IACtC,wBAAwB,OAAO,WAAW;AAAA,IAC1C,8BAA8B,OAAO,MAAM;AAAA,IAC3C,4BAA4B,OAAO,MAAM;AAAA,IACzC,gBAAgB,OAAO,MAAM;AAAA,IAC7B,UAAU,OAAO,MAAM;AAAA,IACvB,gBAAgB,OAAO,MAAM;AAAA,IAC7B,oBAAoB,OAAO,MAAM;AAAA,IACjC,qBAAqB;AAAA,IACrB,SAAS;AAAA,MACP,SAAS;AAAA,QACP,uB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A,IACF;AAAA,EACF;AACF;","names":[]}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { SpinnerTokens } from '../types/spinner-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/modal-tokens.types.mjs';
|
|
9
11
|
import '../types/popover-tokens.types.mjs';
|
|
10
12
|
import '../types/radio-tokens.types.mjs';
|
|
13
|
+
import '../types/shadow.types.mjs';
|
|
14
|
+
import 'react-native';
|
|
11
15
|
import '../types/tabs-tokens.types.mjs';
|
|
12
16
|
import '../types/accordion-tokens.types.mjs';
|
|
13
17
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { StepperTokens } from '../types/stepper-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/modal-tokens.types.mjs';
|
|
9
11
|
import '../types/popover-tokens.types.mjs';
|
|
10
12
|
import '../types/radio-tokens.types.mjs';
|
|
13
|
+
import '../types/shadow.types.mjs';
|
|
14
|
+
import 'react-native';
|
|
11
15
|
import '../types/tabs-tokens.types.mjs';
|
|
12
16
|
import '../types/accordion-tokens.types.mjs';
|
|
13
17
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { SwitchTokens } from '../types/switch-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/modal-tokens.types.mjs';
|
|
9
11
|
import '../types/popover-tokens.types.mjs';
|
|
10
12
|
import '../types/radio-tokens.types.mjs';
|
|
13
|
+
import '../types/shadow.types.mjs';
|
|
14
|
+
import 'react-native';
|
|
11
15
|
import '../types/tabs-tokens.types.mjs';
|
|
12
16
|
import '../types/accordion-tokens.types.mjs';
|
|
13
17
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { TabsTokens } from '../types/tabs-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/modal-tokens.types.mjs';
|
|
9
11
|
import '../types/popover-tokens.types.mjs';
|
|
10
12
|
import '../types/radio-tokens.types.mjs';
|
|
13
|
+
import '../types/shadow.types.mjs';
|
|
14
|
+
import 'react-native';
|
|
11
15
|
import '../types/accordion-tokens.types.mjs';
|
|
12
16
|
import '../types/avatar-tokens.types.mjs';
|
|
13
17
|
import '../types/buttons-tokens.types.mjs';
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { TagTokens } from '../types/tag-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/modal-tokens.types.mjs';
|
|
9
11
|
import '../types/popover-tokens.types.mjs';
|
|
10
12
|
import '../types/radio-tokens.types.mjs';
|
|
13
|
+
import '../types/shadow.types.mjs';
|
|
14
|
+
import 'react-native';
|
|
11
15
|
import '../types/tabs-tokens.types.mjs';
|
|
12
16
|
import '../types/accordion-tokens.types.mjs';
|
|
13
17
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { TextareaTokens } from '../types/textarea-tokens.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/modal-tokens.types.mjs';
|
|
9
11
|
import '../types/popover-tokens.types.mjs';
|
|
10
12
|
import '../types/radio-tokens.types.mjs';
|
|
13
|
+
import '../types/shadow.types.mjs';
|
|
14
|
+
import 'react-native';
|
|
11
15
|
import '../types/tabs-tokens.types.mjs';
|
|
12
16
|
import '../types/accordion-tokens.types.mjs';
|
|
13
17
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import { TimePickerTokens } from '../types/time-picker-token.types.mjs';
|
|
3
3
|
import '../types/badge-tokens.types.mjs';
|
|
4
4
|
import '../types/components.types.mjs';
|
|
5
5
|
import '../types/carousel-tokens.types.mjs';
|
|
6
|
+
import '../types/charts-tokens.types.mjs';
|
|
7
|
+
import '../types/chart.types.mjs';
|
|
6
8
|
import '../types/checkbox-tokens.types.mjs';
|
|
7
9
|
import '../types/list-tokens.types.mjs';
|
|
8
10
|
import '../types/modal-tokens.types.mjs';
|
|
9
11
|
import '../types/popover-tokens.types.mjs';
|
|
10
12
|
import '../types/radio-tokens.types.mjs';
|
|
13
|
+
import '../types/shadow.types.mjs';
|
|
14
|
+
import 'react-native';
|
|
11
15
|
import '../types/tabs-tokens.types.mjs';
|
|
12
16
|
import '../types/accordion-tokens.types.mjs';
|
|
13
17
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens, e as ToastTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens, e as ToastTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import '../types/badge-tokens.types.mjs';
|
|
3
3
|
import '../types/components.types.mjs';
|
|
4
4
|
import '../types/carousel-tokens.types.mjs';
|
|
5
|
+
import '../types/charts-tokens.types.mjs';
|
|
6
|
+
import '../types/chart.types.mjs';
|
|
5
7
|
import '../types/checkbox-tokens.types.mjs';
|
|
6
8
|
import '../types/list-tokens.types.mjs';
|
|
7
9
|
import '../types/modal-tokens.types.mjs';
|
|
8
10
|
import '../types/popover-tokens.types.mjs';
|
|
9
11
|
import '../types/radio-tokens.types.mjs';
|
|
12
|
+
import '../types/shadow.types.mjs';
|
|
13
|
+
import 'react-native';
|
|
10
14
|
import '../types/tabs-tokens.types.mjs';
|
|
11
15
|
import '../types/accordion-tokens.types.mjs';
|
|
12
16
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
function createToastTokens(tokens) {
|
|
2
2
|
return {
|
|
3
|
+
enterDuration: 180,
|
|
4
|
+
exitDuration: 150,
|
|
5
|
+
stackDuration: 220,
|
|
6
|
+
actionFontWeight: tokens.fontWeight.semiBold,
|
|
3
7
|
backgroundColor: tokens.colors.surface.elevated.value,
|
|
4
8
|
borderColor: tokens.colors.border.subtle.value,
|
|
5
9
|
borderWidth: tokens.borderSize.sm,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/theme/create-toast-tokens.ts"],"sourcesContent":["import type { PrimitiveThemeTokens, ToastTokens } from \"../types\";\n\nexport function createToastTokens(tokens: PrimitiveThemeTokens): ToastTokens {\n return {\n backgroundColor: tokens.colors.surface.elevated.value,\n borderColor: tokens.colors.border.subtle.value,\n borderWidth: tokens.borderSize.sm,\n borderRadius: tokens.radii.lg,\n padding: tokens.space.sm,\n gap: tokens.space.xs,\n stackLimit: 5,\n stackScaleStep: 0.04,\n contentGap: tokens.space.xxs,\n edgeOffset: tokens.space.sm,\n topOffset: tokens.space.xs,\n iconSize: 24,\n closeIconSize: 18,\n closeColor: tokens.colors.text.tertiary,\n iconContainerSize: tokens.space.md,\n actionMinSize: tokens.space.md,\n titleColor: tokens.colors.text.primary,\n descriptionColor: tokens.colors.text.secondary,\n actionColor: tokens.colors.primary.value,\n disabledColor: tokens.colors.text.disabled,\n titleFontSize: tokens.fontSize.sm,\n titleLineHeight: tokens.lineHeight.sm,\n descriptionFontSize: tokens.fontSize.xsm,\n descriptionLineHeight: tokens.lineHeight.xsm,\n zIndexBase: 2000,\n tones: { ...tokens.colors.feedback },\n };\n}\n"],"mappings":"AAEO,SAAS,kBAAkB,QAA2C;AAC3E,SAAO;AAAA,IACL,iBAAiB,OAAO,OAAO,QAAQ,SAAS;AAAA,IAChD,aAAa,OAAO,OAAO,OAAO,OAAO;AAAA,IACzC,aAAa,OAAO,WAAW;AAAA,IAC/B,cAAc,OAAO,MAAM;AAAA,IAC3B,SAAS,OAAO,MAAM;AAAA,IACtB,KAAK,OAAO,MAAM;AAAA,IAClB,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,YAAY,OAAO,MAAM;AAAA,IACzB,YAAY,OAAO,MAAM;AAAA,IACzB,WAAW,OAAO,MAAM;AAAA,IACxB,UAAU;AAAA,IACV,eAAe;AAAA,IACf,YAAY,OAAO,OAAO,KAAK;AAAA,IAC/B,mBAAmB,OAAO,MAAM;AAAA,IAChC,eAAe,OAAO,MAAM;AAAA,IAC5B,YAAY,OAAO,OAAO,KAAK;AAAA,IAC/B,kBAAkB,OAAO,OAAO,KAAK;AAAA,IACrC,aAAa,OAAO,OAAO,QAAQ;AAAA,IACnC,eAAe,OAAO,OAAO,KAAK;AAAA,IAClC,eAAe,OAAO,SAAS;AAAA,IAC/B,iBAAiB,OAAO,WAAW;AAAA,IACnC,qBAAqB,OAAO,SAAS;AAAA,IACrC,uBAAuB,OAAO,WAAW;AAAA,IACzC,YAAY;AAAA,IACZ,OAAO,EAAE,GAAG,OAAO,OAAO,SAAS;AAAA,EACrC;AACF;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/theme/create-toast-tokens.ts"],"sourcesContent":["import type { PrimitiveThemeTokens, ToastTokens } from \"../types\";\n\nexport function createToastTokens(tokens: PrimitiveThemeTokens): ToastTokens {\n return {\n enterDuration: 180,\n exitDuration: 150,\n stackDuration: 220,\n actionFontWeight: tokens.fontWeight.semiBold,\n backgroundColor: tokens.colors.surface.elevated.value,\n borderColor: tokens.colors.border.subtle.value,\n borderWidth: tokens.borderSize.sm,\n borderRadius: tokens.radii.lg,\n padding: tokens.space.sm,\n gap: tokens.space.xs,\n stackLimit: 5,\n stackScaleStep: 0.04,\n contentGap: tokens.space.xxs,\n edgeOffset: tokens.space.sm,\n topOffset: tokens.space.xs,\n iconSize: 24,\n closeIconSize: 18,\n closeColor: tokens.colors.text.tertiary,\n iconContainerSize: tokens.space.md,\n actionMinSize: tokens.space.md,\n titleColor: tokens.colors.text.primary,\n descriptionColor: tokens.colors.text.secondary,\n actionColor: tokens.colors.primary.value,\n disabledColor: tokens.colors.text.disabled,\n titleFontSize: tokens.fontSize.sm,\n titleLineHeight: tokens.lineHeight.sm,\n descriptionFontSize: tokens.fontSize.xsm,\n descriptionLineHeight: tokens.lineHeight.xsm,\n zIndexBase: 2000,\n tones: { ...tokens.colors.feedback },\n };\n}\n"],"mappings":"AAEO,SAAS,kBAAkB,QAA2C;AAC3E,SAAO;AAAA,IACL,eAAe;AAAA,IACf,cAAc;AAAA,IACd,eAAe;AAAA,IACf,kBAAkB,OAAO,WAAW;AAAA,IACpC,iBAAiB,OAAO,OAAO,QAAQ,SAAS;AAAA,IAChD,aAAa,OAAO,OAAO,OAAO,OAAO;AAAA,IACzC,aAAa,OAAO,WAAW;AAAA,IAC/B,cAAc,OAAO,MAAM;AAAA,IAC3B,SAAS,OAAO,MAAM;AAAA,IACtB,KAAK,OAAO,MAAM;AAAA,IAClB,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,YAAY,OAAO,MAAM;AAAA,IACzB,YAAY,OAAO,MAAM;AAAA,IACzB,WAAW,OAAO,MAAM;AAAA,IACxB,UAAU;AAAA,IACV,eAAe;AAAA,IACf,YAAY,OAAO,OAAO,KAAK;AAAA,IAC/B,mBAAmB,OAAO,MAAM;AAAA,IAChC,eAAe,OAAO,MAAM;AAAA,IAC5B,YAAY,OAAO,OAAO,KAAK;AAAA,IAC/B,kBAAkB,OAAO,OAAO,KAAK;AAAA,IACrC,aAAa,OAAO,OAAO,QAAQ;AAAA,IACnC,eAAe,OAAO,OAAO,KAAK;AAAA,IAClC,eAAe,OAAO,SAAS;AAAA,IAC/B,iBAAiB,OAAO,WAAW;AAAA,IACnC,qBAAqB,OAAO,SAAS;AAAA,IACrC,uBAAuB,OAAO,WAAW;AAAA,IACzC,YAAY;AAAA,IACZ,OAAO,EAAE,GAAG,OAAO,OAAO,SAAS;AAAA,EACrC;AACF;","names":[]}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import '../types/badge-tokens.types.mjs';
|
|
3
3
|
import '../types/components.types.mjs';
|
|
4
4
|
import '../types/carousel-tokens.types.mjs';
|
|
5
|
+
import '../types/charts-tokens.types.mjs';
|
|
6
|
+
import '../types/chart.types.mjs';
|
|
5
7
|
import '../types/checkbox-tokens.types.mjs';
|
|
6
8
|
import '../types/list-tokens.types.mjs';
|
|
7
9
|
import '../types/modal-tokens.types.mjs';
|
|
8
10
|
import '../types/popover-tokens.types.mjs';
|
|
9
11
|
import '../types/radio-tokens.types.mjs';
|
|
12
|
+
import '../types/shadow.types.mjs';
|
|
13
|
+
import 'react-native';
|
|
10
14
|
import '../types/tabs-tokens.types.mjs';
|
|
11
15
|
import '../types/accordion-tokens.types.mjs';
|
|
12
16
|
import '../types/avatar-tokens.types.mjs';
|
package/dist/theme/dark.theme.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { ShadowScale } from "../constants";
|
|
1
2
|
import {
|
|
2
3
|
BorderSizeTokens,
|
|
4
|
+
CodeFontFamilyToken,
|
|
3
5
|
DarkColors,
|
|
4
6
|
FontFamilyTokens,
|
|
5
7
|
FontSizeTokens,
|
|
@@ -10,6 +12,8 @@ import {
|
|
|
10
12
|
SpaceTokens
|
|
11
13
|
} from "./tokens.theme";
|
|
12
14
|
const DarkTheme = {
|
|
15
|
+
shadows: ShadowScale,
|
|
16
|
+
codeFontFamily: CodeFontFamilyToken,
|
|
13
17
|
colors: DarkColors,
|
|
14
18
|
space: SpaceTokens,
|
|
15
19
|
radii: RadiiTokens,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/theme/dark.theme.ts"],"sourcesContent":["import { PrimitiveThemeTokens } from \"../types\";\nimport {\n BorderSizeTokens,\n DarkColors,\n FontFamilyTokens,\n FontSizeTokens,\n FontWeightTokens,\n LetterSpacingTokens,\n LineHeightTokens,\n RadiiTokens,\n SpaceTokens,\n} from \"./tokens.theme\";\n\nexport const DarkTheme: PrimitiveThemeTokens = {\n colors: DarkColors,\n space: SpaceTokens,\n radii: RadiiTokens,\n fontFamily: FontFamilyTokens,\n borderSize: BorderSizeTokens,\n fontSize: FontSizeTokens,\n fontWeight: FontWeightTokens,\n lineHeight: LineHeightTokens,\n letterSpacing: LetterSpacingTokens,\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/theme/dark.theme.ts"],"sourcesContent":["import { ShadowScale } from \"../constants\";\nimport { PrimitiveThemeTokens } from \"../types\";\nimport {\n BorderSizeTokens,\n CodeFontFamilyToken,\n DarkColors,\n FontFamilyTokens,\n FontSizeTokens,\n FontWeightTokens,\n LetterSpacingTokens,\n LineHeightTokens,\n RadiiTokens,\n SpaceTokens,\n} from \"./tokens.theme\";\n\nexport const DarkTheme: PrimitiveThemeTokens = {\n shadows: ShadowScale,\n codeFontFamily: CodeFontFamilyToken,\n colors: DarkColors,\n space: SpaceTokens,\n radii: RadiiTokens,\n fontFamily: FontFamilyTokens,\n borderSize: BorderSizeTokens,\n fontSize: FontSizeTokens,\n fontWeight: FontWeightTokens,\n lineHeight: LineHeightTokens,\n letterSpacing: LetterSpacingTokens,\n};\n"],"mappings":"AAAA,SAAS,mBAAmB;AAE5B;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEA,MAAM,YAAkC;AAAA,EAC7C,SAAS;AAAA,EACT,gBAAgB;AAAA,EAChB,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,eAAe;AACjB;","names":[]}
|
package/dist/theme/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { DarkTheme } from './dark.theme.mjs';
|
|
2
2
|
export { LightTheme } from './light.theme.mjs';
|
|
3
|
-
export { BorderSizeTokens,
|
|
3
|
+
export { BorderSizeTokens, CodeFontFamilyToken, DarkColors, FontFamilyTokens, FontFamilyWeightsItalicTokens, FontFamilyWeightsNormalTokens, FontSizeTokens, FontWeightTokens, LetterSpacingTokens, LightColors, LineHeightTokens, NeutralColorTokens, RadiiTokens, SpaceTokens, createComponentsTokens } from './tokens.theme.mjs';
|
|
4
|
+
export { createChartsTokens } from './create-charts-tokens.mjs';
|
|
4
5
|
export { createPaginationTokens } from './create-pagination-tokens.mjs';
|
|
5
6
|
export { createSliderTokens } from './create-slider-tokens.mjs';
|
|
6
7
|
export { createSegmentedControlTokens } from './create-segmented-control-tokens.mjs';
|
|
@@ -9,15 +10,20 @@ export { createCarouselTokens } from './create-carousel-tokens.mjs';
|
|
|
9
10
|
export { createToastTokens } from './create-toast-tokens.mjs';
|
|
10
11
|
export { createPopoverTokens } from './create-popover-tokens.mjs';
|
|
11
12
|
export { createModalTokens } from './create-modal-tokens.mjs';
|
|
12
|
-
|
|
13
|
+
export { ChartColorTokens } from './chart-color-tokens.mjs';
|
|
14
|
+
import '../theme-provider.types-CLjz9-IY.mjs';
|
|
13
15
|
import '../types/badge-tokens.types.mjs';
|
|
14
16
|
import '../types/components.types.mjs';
|
|
15
17
|
import '../types/carousel-tokens.types.mjs';
|
|
18
|
+
import '../types/charts-tokens.types.mjs';
|
|
19
|
+
import '../types/chart.types.mjs';
|
|
16
20
|
import '../types/checkbox-tokens.types.mjs';
|
|
17
21
|
import '../types/list-tokens.types.mjs';
|
|
18
22
|
import '../types/modal-tokens.types.mjs';
|
|
19
23
|
import '../types/popover-tokens.types.mjs';
|
|
20
24
|
import '../types/radio-tokens.types.mjs';
|
|
25
|
+
import '../types/shadow.types.mjs';
|
|
26
|
+
import 'react-native';
|
|
21
27
|
import '../types/tabs-tokens.types.mjs';
|
|
22
28
|
import '../types/accordion-tokens.types.mjs';
|
|
23
29
|
import '../types/avatar-tokens.types.mjs';
|
|
@@ -43,4 +49,3 @@ import '../types/tag-tokens.types.mjs';
|
|
|
43
49
|
import '../types/textarea-tokens.types.mjs';
|
|
44
50
|
import '../types/time-picker-token.types.mjs';
|
|
45
51
|
import '../types/tokens.types.mjs';
|
|
46
|
-
import '../types/chart.types.mjs';
|
package/dist/theme/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DarkTheme } from "./dark.theme";
|
|
2
2
|
import { LightTheme } from "./light.theme";
|
|
3
3
|
export * from "./tokens.theme";
|
|
4
|
+
export * from "./create-charts-tokens";
|
|
4
5
|
export * from "./create-pagination-tokens";
|
|
5
6
|
export * from "./create-slider-tokens";
|
|
6
7
|
export * from "./create-segmented-control-tokens";
|
package/dist/theme/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/theme/index.ts"],"sourcesContent":["export { DarkTheme } from \"./dark.theme\";\nexport { LightTheme } from \"./light.theme\";\nexport * from \"./tokens.theme\";\nexport * from \"./create-pagination-tokens\";\nexport * from \"./create-slider-tokens\";\nexport * from \"./create-segmented-control-tokens\";\nexport * from \"./create-tabs-tokens\";\nexport * from \"./create-carousel-tokens\";\n\nexport * from \"./create-toast-tokens\";\nexport * from \"./create-popover-tokens\";\nexport * from \"./create-modal-tokens\";\n"],"mappings":"AAAA,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAC3B,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/theme/index.ts"],"sourcesContent":["export { DarkTheme } from \"./dark.theme\";\nexport { LightTheme } from \"./light.theme\";\nexport * from \"./tokens.theme\";\nexport * from \"./create-charts-tokens\";\nexport * from \"./create-pagination-tokens\";\nexport * from \"./create-slider-tokens\";\nexport * from \"./create-segmented-control-tokens\";\nexport * from \"./create-tabs-tokens\";\nexport * from \"./create-carousel-tokens\";\n\nexport * from \"./create-toast-tokens\";\nexport * from \"./create-popover-tokens\";\nexport * from \"./create-modal-tokens\";\n"],"mappings":"AAAA,SAAS,iBAAiB;AAC1B,SAAS,kBAAkB;AAC3B,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { P as PrimitiveThemeTokens } from '../theme-provider.types-
|
|
1
|
+
import { P as PrimitiveThemeTokens } from '../theme-provider.types-CLjz9-IY.mjs';
|
|
2
2
|
import '../types/badge-tokens.types.mjs';
|
|
3
3
|
import '../types/components.types.mjs';
|
|
4
4
|
import '../types/carousel-tokens.types.mjs';
|
|
5
|
+
import '../types/charts-tokens.types.mjs';
|
|
6
|
+
import '../types/chart.types.mjs';
|
|
5
7
|
import '../types/checkbox-tokens.types.mjs';
|
|
6
8
|
import '../types/list-tokens.types.mjs';
|
|
7
9
|
import '../types/modal-tokens.types.mjs';
|
|
8
10
|
import '../types/popover-tokens.types.mjs';
|
|
9
11
|
import '../types/radio-tokens.types.mjs';
|
|
12
|
+
import '../types/shadow.types.mjs';
|
|
13
|
+
import 'react-native';
|
|
10
14
|
import '../types/tabs-tokens.types.mjs';
|
|
11
15
|
import '../types/accordion-tokens.types.mjs';
|
|
12
16
|
import '../types/avatar-tokens.types.mjs';
|