@impulse-ui-native/theme 11.2.0 → 11.3.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/dist/hooks/index.d.mts +3 -2
- package/dist/hooks/use-colors.hook.d.mts +3 -2
- package/dist/hooks/use-components-tokens.hook.d.mts +3 -2
- package/dist/hooks/use-theme.hook.d.mts +3 -2
- package/dist/hooks/use-themed-styles.d.mts +3 -2
- package/dist/index.d.mts +2 -1
- package/dist/providers/index.d.mts +3 -2
- package/dist/providers/theme.provider.d.mts +3 -2
- package/dist/theme/create-accordion-tokens.d.mts +3 -2
- package/dist/theme/create-avatar-tokens.d.mts +3 -2
- package/dist/theme/create-badge-tokens.d.mts +3 -2
- package/dist/theme/create-button-tokens.d.mts +2 -1
- package/dist/theme/create-card-tokens.d.mts +3 -2
- package/dist/theme/create-carousel-tokens.d.mts +3 -2
- package/dist/theme/create-charts-tokens.d.mts +3 -2
- package/dist/theme/create-checkbox-tokens.d.mts +3 -2
- package/dist/theme/create-color-picker-tokens.d.mts +3 -2
- package/dist/theme/create-control-tokens.d.mts +3 -2
- package/dist/theme/create-data-state-tokens.d.mts +3 -2
- package/dist/theme/create-datetime-picker.d.mts +3 -2
- package/dist/theme/create-divider-tokens.d.mts +3 -2
- package/dist/theme/create-flyout-tokens.d.mts +3 -2
- package/dist/theme/create-icon-button-tokens.d.mts +2 -1
- package/dist/theme/create-icon-view-tokens.d.mts +44 -0
- package/dist/theme/create-icon-view-tokens.js +16 -0
- package/dist/theme/create-icon-view-tokens.js.map +1 -0
- package/dist/theme/create-list-tokens.d.mts +3 -2
- package/dist/theme/create-modal-tokens.d.mts +3 -2
- package/dist/theme/create-pagination-tokens.d.mts +3 -2
- package/dist/theme/create-popover-tokens.d.mts +3 -2
- package/dist/theme/create-progress-tokens.d.mts +3 -2
- package/dist/theme/create-radio-tokens.d.mts +3 -2
- package/dist/theme/create-segmented-control-tokens.d.mts +3 -2
- package/dist/theme/create-select-tokens.d.mts +3 -2
- package/dist/theme/create-skeleton-tokens.d.mts +3 -2
- package/dist/theme/create-slider-tokens.d.mts +3 -2
- package/dist/theme/create-spinner-tokens.d.mts +3 -2
- package/dist/theme/create-stepper-tokens.d.mts +3 -2
- package/dist/theme/create-switch-tokens.d.mts +3 -2
- package/dist/theme/create-tabs-tokens.d.mts +3 -2
- package/dist/theme/create-tag-tokens.d.mts +3 -2
- package/dist/theme/create-textarea-tokens.d.mts +3 -2
- package/dist/theme/create-time-picker-tokens.d.mts +3 -2
- package/dist/theme/create-toast-tokens.d.mts +3 -2
- package/dist/theme/dark.theme.d.mts +3 -2
- package/dist/theme/index.d.mts +3 -2
- package/dist/theme/light.theme.d.mts +3 -2
- package/dist/theme/tokens.theme.d.mts +3 -2
- package/dist/theme/tokens.theme.js +2 -0
- package/dist/theme/tokens.theme.js.map +1 -1
- package/dist/{theme-provider.types-DLP3kyqN.d.mts → theme-provider.types-e3tYI4ca.d.mts} +2 -0
- package/dist/types/icon-view-tokens.types.d.mts +12 -0
- package/dist/types/icon-view-tokens.types.js +1 -0
- package/dist/types/icon-view-tokens.types.js.map +1 -0
- package/dist/types/index.d.mts +2 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/theme-provider.types.d.mts +2 -1
- package/dist/types/toast-tokens.types.d.mts +3 -2
- package/dist/utils/index.d.mts +3 -2
- package/dist/utils/style.utils.d.mts +3 -2
- package/package.json +2 -2
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BadgeTokens } from './badge-tokens.types.mjs';
|
|
2
|
+
import { IconButtonTokens } from './buttons-tokens.types.mjs';
|
|
3
|
+
import './components.types.mjs';
|
|
4
|
+
|
|
5
|
+
interface IconViewTokens {
|
|
6
|
+
borderRadius: number;
|
|
7
|
+
borderWidth: number;
|
|
8
|
+
sizes: IconButtonTokens["sizes"];
|
|
9
|
+
colors: BadgeTokens["colors"];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export type { IconViewTokens };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=icon-view-tokens.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/types/index.d.mts
CHANGED
|
@@ -8,7 +8,7 @@ export { FlexProps } from './flex.types.mjs';
|
|
|
8
8
|
export { ShadowIntensity, ShadowLevel, ShadowPosition, ShadowProps, ShadowScaleTokens } from './shadow.types.mjs';
|
|
9
9
|
export { SpacingProps } from './spacing.types.mjs';
|
|
10
10
|
export { StylePropKey, StyleProps } from './style.types.mjs';
|
|
11
|
-
export { A as AppTheme, C as ColorPair, a as ColorScheme, b as ComponentsThemes, c as ComponentsTokens, E as ExtendedThemeColors, P as PrimitiveThemeTokens, T as ThemeColors, d as ThemeContextData, e as ToastTokens, f as ToastTone } from '../theme-provider.types-
|
|
11
|
+
export { A as AppTheme, C as ColorPair, a as ColorScheme, b as ComponentsThemes, c as ComponentsTokens, E as ExtendedThemeColors, P as PrimitiveThemeTokens, T as ThemeColors, d as ThemeContextData, e as ToastTokens, f as ToastTone } from '../theme-provider.types-e3tYI4ca.mjs';
|
|
12
12
|
export { BorderSize, BorderSizeKey, FontFamily, FontSize, FontWeight, FontWeightItalic, FontWeightKeys, FontWeightNormal, FontWeightValue, LetterSpacingKey, LetterSpacings, LineHeight, NeutralColor, NeutralColorKey, Radii, RadiiBlob, RadiiConditional, RadiiDrawn, RadiusBlobKey, RadiusConditionalKey, RadiusDrawnKey, RadiusKey, Space, SpaceSizesKey, TypographyKey } from './tokens.types.mjs';
|
|
13
13
|
export { TypographyPresetKey, TypographyProps } from './typography.types.mjs';
|
|
14
14
|
export { ActionAppearanceTokens, ButtonSizeTokens, ButtonTokens, ButtonVariantTokens, IconButtonSizeTokens, IconButtonTokens, IconButtonVariantTokens } from './buttons-tokens.types.mjs';
|
|
@@ -43,4 +43,5 @@ export { CarouselCounterAppearanceTokens, CarouselIndicatorAppearanceTokens, Car
|
|
|
43
43
|
export { PopoverTokens } from './popover-tokens.types.mjs';
|
|
44
44
|
export { ModalTokens } from './modal-tokens.types.mjs';
|
|
45
45
|
export { ColorPickerPreset, ColorPickerTokens } from './color-picker-tokens.types.mjs';
|
|
46
|
+
export { IconViewTokens } from './icon-view-tokens.types.mjs';
|
|
46
47
|
import 'react-native';
|
package/dist/types/index.js
CHANGED
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/types/index.ts"],"sourcesContent":["export * from \"./border.types\";\nexport * from \"./color.types\";\nexport * from \"./chart.types\";\nexport * from \"./charts-tokens.types\";\nexport * from \"./components.types\";\nexport * from \"./dimension.types\";\nexport * from \"./flex.types\";\nexport * from \"./shadow.types\";\nexport * from \"./spacing.types\";\nexport * from \"./style.types\";\nexport * from \"./theme-provider.types\";\nexport * from \"./tokens.types\";\nexport * from \"./typography.types\";\nexport * from \"./buttons-tokens.types\";\nexport * from \"./accordion-tokens.types\";\nexport * from \"./avatar-tokens.types\";\nexport * from \"./badge-tokens.types\";\nexport * from \"./card-tokens.types\";\nexport * from \"./checkbox-tokens.types\";\nexport * from \"./tag-tokens.types\";\nexport * from \"./control-tokens.types\";\nexport * from \"./select-tokens.types\";\nexport * from \"./datetime-picker-tokens.types\";\nexport * from \"./divider-tokens.types\";\nexport * from \"./time-picker-token.types\";\nexport * from \"./flyout-tokens.types\";\nexport * from \"./icon-tokens.types\";\nexport * from \"./pressable-tokens.types\";\nexport * from \"./pagination-tokens.types\";\nexport * from \"./progress-tokens.types\";\nexport * from \"./radio-tokens.types\";\nexport * from \"./segmented-control-tokens.types\";\nexport * from \"./tabs-tokens.types\";\nexport * from \"./skeleton-tokens.types\";\nexport * from \"./slider-tokens.types\";\nexport * from \"./spinner-tokens.types\";\nexport * from \"./stepper-tokens.types\";\nexport * from \"./switch-tokens.types\";\nexport * from \"./textarea-tokens.types\";\nexport * from \"./data-state-tokens.types\";\n\nexport * from \"./list-tokens.types\";\nexport * from \"./carousel-tokens.types\";\n\nexport * from \"./toast-tokens.types\";\nexport * from \"./popover-tokens.types\";\nexport * from \"./modal-tokens.types\";\n\nexport * from \"./color-picker-tokens.types\";\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/types/index.ts"],"sourcesContent":["export * from \"./border.types\";\nexport * from \"./color.types\";\nexport * from \"./chart.types\";\nexport * from \"./charts-tokens.types\";\nexport * from \"./components.types\";\nexport * from \"./dimension.types\";\nexport * from \"./flex.types\";\nexport * from \"./shadow.types\";\nexport * from \"./spacing.types\";\nexport * from \"./style.types\";\nexport * from \"./theme-provider.types\";\nexport * from \"./tokens.types\";\nexport * from \"./typography.types\";\nexport * from \"./buttons-tokens.types\";\nexport * from \"./accordion-tokens.types\";\nexport * from \"./avatar-tokens.types\";\nexport * from \"./badge-tokens.types\";\nexport * from \"./card-tokens.types\";\nexport * from \"./checkbox-tokens.types\";\nexport * from \"./tag-tokens.types\";\nexport * from \"./control-tokens.types\";\nexport * from \"./select-tokens.types\";\nexport * from \"./datetime-picker-tokens.types\";\nexport * from \"./divider-tokens.types\";\nexport * from \"./time-picker-token.types\";\nexport * from \"./flyout-tokens.types\";\nexport * from \"./icon-tokens.types\";\nexport * from \"./pressable-tokens.types\";\nexport * from \"./pagination-tokens.types\";\nexport * from \"./progress-tokens.types\";\nexport * from \"./radio-tokens.types\";\nexport * from \"./segmented-control-tokens.types\";\nexport * from \"./tabs-tokens.types\";\nexport * from \"./skeleton-tokens.types\";\nexport * from \"./slider-tokens.types\";\nexport * from \"./spinner-tokens.types\";\nexport * from \"./stepper-tokens.types\";\nexport * from \"./switch-tokens.types\";\nexport * from \"./textarea-tokens.types\";\nexport * from \"./data-state-tokens.types\";\n\nexport * from \"./list-tokens.types\";\nexport * from \"./carousel-tokens.types\";\n\nexport * from \"./toast-tokens.types\";\nexport * from \"./popover-tokens.types\";\nexport * from \"./modal-tokens.types\";\n\nexport * from \"./color-picker-tokens.types\";\n\nexport * from \"./icon-view-tokens.types\";\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AAEd,cAAc;","names":[]}
|
|
@@ -3,13 +3,14 @@ import './carousel-tokens.types.mjs';
|
|
|
3
3
|
import './charts-tokens.types.mjs';
|
|
4
4
|
import './checkbox-tokens.types.mjs';
|
|
5
5
|
import './color-picker-tokens.types.mjs';
|
|
6
|
+
import './icon-view-tokens.types.mjs';
|
|
6
7
|
import './list-tokens.types.mjs';
|
|
7
8
|
import './modal-tokens.types.mjs';
|
|
8
9
|
import './popover-tokens.types.mjs';
|
|
9
10
|
import './radio-tokens.types.mjs';
|
|
10
11
|
import './shadow.types.mjs';
|
|
11
12
|
import './tabs-tokens.types.mjs';
|
|
12
|
-
export { A as AppTheme, C as ColorPair, a as ColorScheme, b as ComponentsThemes, c as ComponentsTokens, E as ExtendedThemeColors, P as PrimitiveThemeTokens, T as ThemeColors, d as ThemeContextData } from '../theme-provider.types-
|
|
13
|
+
export { A as AppTheme, C as ColorPair, a as ColorScheme, b as ComponentsThemes, c as ComponentsTokens, E as ExtendedThemeColors, P as PrimitiveThemeTokens, T as ThemeColors, d as ThemeContextData } from '../theme-provider.types-e3tYI4ca.mjs';
|
|
13
14
|
import './accordion-tokens.types.mjs';
|
|
14
15
|
import './avatar-tokens.types.mjs';
|
|
15
16
|
import './buttons-tokens.types.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { e as ToastTokens, f as ToastTone } from '../theme-provider.types-
|
|
1
|
+
export { e as ToastTokens, f as ToastTone } from '../theme-provider.types-e3tYI4ca.mjs';
|
|
2
2
|
import './tokens.types.mjs';
|
|
3
3
|
import './badge-tokens.types.mjs';
|
|
4
4
|
import './components.types.mjs';
|
|
@@ -8,6 +8,8 @@ import 'react-native';
|
|
|
8
8
|
import './chart.types.mjs';
|
|
9
9
|
import './checkbox-tokens.types.mjs';
|
|
10
10
|
import './color-picker-tokens.types.mjs';
|
|
11
|
+
import './icon-view-tokens.types.mjs';
|
|
12
|
+
import './buttons-tokens.types.mjs';
|
|
11
13
|
import './list-tokens.types.mjs';
|
|
12
14
|
import './modal-tokens.types.mjs';
|
|
13
15
|
import './popover-tokens.types.mjs';
|
|
@@ -16,7 +18,6 @@ import './shadow.types.mjs';
|
|
|
16
18
|
import './tabs-tokens.types.mjs';
|
|
17
19
|
import './accordion-tokens.types.mjs';
|
|
18
20
|
import './avatar-tokens.types.mjs';
|
|
19
|
-
import './buttons-tokens.types.mjs';
|
|
20
21
|
import './card-tokens.types.mjs';
|
|
21
22
|
import './control-tokens.types.mjs';
|
|
22
23
|
import './data-state-tokens.types.mjs';
|
package/dist/utils/index.d.mts
CHANGED
|
@@ -29,13 +29,15 @@ import '../types/flex.types.mjs';
|
|
|
29
29
|
import '../types/spacing.types.mjs';
|
|
30
30
|
import '../types/typography.types.mjs';
|
|
31
31
|
import '../types/tokens.types.mjs';
|
|
32
|
-
import '../theme-provider.types-
|
|
32
|
+
import '../theme-provider.types-e3tYI4ca.mjs';
|
|
33
33
|
import '../types/badge-tokens.types.mjs';
|
|
34
34
|
import '../types/carousel-tokens.types.mjs';
|
|
35
35
|
import '../types/charts-tokens.types.mjs';
|
|
36
36
|
import '../types/chart.types.mjs';
|
|
37
37
|
import '../types/checkbox-tokens.types.mjs';
|
|
38
38
|
import '../types/color-picker-tokens.types.mjs';
|
|
39
|
+
import '../types/icon-view-tokens.types.mjs';
|
|
40
|
+
import '../types/buttons-tokens.types.mjs';
|
|
39
41
|
import '../types/list-tokens.types.mjs';
|
|
40
42
|
import '../types/modal-tokens.types.mjs';
|
|
41
43
|
import '../types/popover-tokens.types.mjs';
|
|
@@ -43,7 +45,6 @@ import '../types/radio-tokens.types.mjs';
|
|
|
43
45
|
import '../types/tabs-tokens.types.mjs';
|
|
44
46
|
import '../types/accordion-tokens.types.mjs';
|
|
45
47
|
import '../types/avatar-tokens.types.mjs';
|
|
46
|
-
import '../types/buttons-tokens.types.mjs';
|
|
47
48
|
import '../types/card-tokens.types.mjs';
|
|
48
49
|
import '../types/control-tokens.types.mjs';
|
|
49
50
|
import '../types/data-state-tokens.types.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ViewStyle } from 'react-native';
|
|
2
2
|
import { ShadowLevel, ShadowPosition, ShadowScaleTokens } from '../types/shadow.types.mjs';
|
|
3
3
|
import { StyleProps } from '../types/style.types.mjs';
|
|
4
|
-
import { T as ThemeColors } from '../theme-provider.types-
|
|
4
|
+
import { T as ThemeColors } from '../theme-provider.types-e3tYI4ca.mjs';
|
|
5
5
|
import '../types/border.types.mjs';
|
|
6
6
|
import '../types/color.types.mjs';
|
|
7
7
|
import '../types/dimension.types.mjs';
|
|
@@ -16,6 +16,8 @@ import '../types/charts-tokens.types.mjs';
|
|
|
16
16
|
import '../types/chart.types.mjs';
|
|
17
17
|
import '../types/checkbox-tokens.types.mjs';
|
|
18
18
|
import '../types/color-picker-tokens.types.mjs';
|
|
19
|
+
import '../types/icon-view-tokens.types.mjs';
|
|
20
|
+
import '../types/buttons-tokens.types.mjs';
|
|
19
21
|
import '../types/list-tokens.types.mjs';
|
|
20
22
|
import '../types/modal-tokens.types.mjs';
|
|
21
23
|
import '../types/popover-tokens.types.mjs';
|
|
@@ -23,7 +25,6 @@ import '../types/radio-tokens.types.mjs';
|
|
|
23
25
|
import '../types/tabs-tokens.types.mjs';
|
|
24
26
|
import '../types/accordion-tokens.types.mjs';
|
|
25
27
|
import '../types/avatar-tokens.types.mjs';
|
|
26
|
-
import '../types/buttons-tokens.types.mjs';
|
|
27
28
|
import '../types/card-tokens.types.mjs';
|
|
28
29
|
import '../types/control-tokens.types.mjs';
|
|
29
30
|
import '../types/data-state-tokens.types.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@impulse-ui-native/theme",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.3.0",
|
|
4
4
|
"description": "Theme tokens, providers, and styling utilities for ImpulseUI Native.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
],
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@impulse-ui-native/core": "11.
|
|
31
|
+
"@impulse-ui-native/core": "11.3.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@impulse-ui-native/eslint-config": "1.0.0",
|