@lmb-it/kitsconcerto-native 0.1.245 → 0.1.246
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/components/ActionCard/index.cjs +10 -0
- package/components/ActionCard/index.cjs.map +1 -0
- package/components/ActionCard/index.js +6 -0
- package/components/ActionCard/index.js.map +1 -0
- package/components/BarChart/index.cjs +10 -0
- package/components/BarChart/index.cjs.map +1 -0
- package/components/BarChart/index.js +6 -0
- package/components/BarChart/index.js.map +1 -0
- package/components/Delta/index.cjs +10 -0
- package/components/Delta/index.cjs.map +1 -0
- package/components/Delta/index.js +6 -0
- package/components/Delta/index.js.map +1 -0
- package/components/Donut/index.cjs +10 -0
- package/components/Donut/index.cjs.map +1 -0
- package/components/Donut/index.js +6 -0
- package/components/Donut/index.js.map +1 -0
- package/components/Gauge/index.cjs +10 -0
- package/components/Gauge/index.cjs.map +1 -0
- package/components/Gauge/index.js +6 -0
- package/components/Gauge/index.js.map +1 -0
- package/components/GroupedBars/index.cjs +10 -0
- package/components/GroupedBars/index.cjs.map +1 -0
- package/components/GroupedBars/index.js +6 -0
- package/components/GroupedBars/index.js.map +1 -0
- package/components/Legend/index.cjs +10 -0
- package/components/Legend/index.cjs.map +1 -0
- package/components/Legend/index.js +6 -0
- package/components/Legend/index.js.map +1 -0
- package/components/LineChart/index.cjs +10 -0
- package/components/LineChart/index.cjs.map +1 -0
- package/components/LineChart/index.js +6 -0
- package/components/LineChart/index.js.map +1 -0
- package/components/MapTile/index.cjs +10 -0
- package/components/MapTile/index.cjs.map +1 -0
- package/components/MapTile/index.js +6 -0
- package/components/MapTile/index.js.map +1 -0
- package/components/MetricCard/index.cjs +10 -0
- package/components/MetricCard/index.cjs.map +1 -0
- package/components/MetricCard/index.js +6 -0
- package/components/MetricCard/index.js.map +1 -0
- package/components/Radar/index.cjs +10 -0
- package/components/Radar/index.cjs.map +1 -0
- package/components/Radar/index.js +6 -0
- package/components/Radar/index.js.map +1 -0
- package/components/RankedList/index.cjs +10 -0
- package/components/RankedList/index.cjs.map +1 -0
- package/components/RankedList/index.js +6 -0
- package/components/RankedList/index.js.map +1 -0
- package/components/Rise/index.cjs +12 -0
- package/components/Rise/index.cjs.map +1 -0
- package/components/Rise/index.js +8 -0
- package/components/Rise/index.js.map +1 -0
- package/components/Sparkline/index.cjs +10 -0
- package/components/Sparkline/index.cjs.map +1 -0
- package/components/Sparkline/index.js +6 -0
- package/components/Sparkline/index.js.map +1 -0
- package/components/StackedBars/index.cjs +10 -0
- package/components/StackedBars/index.cjs.map +1 -0
- package/components/StackedBars/index.js +6 -0
- package/components/StackedBars/index.js.map +1 -0
- package/components/StatusCard/index.cjs +10 -0
- package/components/StatusCard/index.cjs.map +1 -0
- package/components/StatusCard/index.js +6 -0
- package/components/StatusCard/index.js.map +1 -0
- package/components/Tip/index.cjs +10 -0
- package/components/Tip/index.cjs.map +1 -0
- package/components/Tip/index.js +6 -0
- package/components/Tip/index.js.map +1 -0
- package/components/WidgetPanel/index.cjs +10 -0
- package/components/WidgetPanel/index.cjs.map +1 -0
- package/components/WidgetPanel/index.js +6 -0
- package/components/WidgetPanel/index.js.map +1 -0
- package/hooks/useCountUp.cjs +49 -0
- package/hooks/useCountUp.cjs.map +1 -0
- package/hooks/useCountUp.js +44 -0
- package/hooks/useCountUp.js.map +1 -0
- package/hooks/useEnter.cjs +25 -0
- package/hooks/useEnter.cjs.map +1 -0
- package/hooks/useEnter.js +20 -0
- package/hooks/useEnter.js.map +1 -0
- package/hooks/useMeasuredWidth.cjs +14 -0
- package/hooks/useMeasuredWidth.cjs.map +1 -0
- package/hooks/useMeasuredWidth.js +9 -0
- package/hooks/useMeasuredWidth.js.map +1 -0
- package/hooks/useReducedMotion/context.cjs +10 -0
- package/hooks/useReducedMotion/context.cjs.map +1 -0
- package/hooks/useReducedMotion/context.js +7 -0
- package/hooks/useReducedMotion/context.js.map +1 -0
- package/hooks/useReducedMotion/index.cjs +13 -0
- package/hooks/useReducedMotion/index.cjs.map +1 -0
- package/hooks/useReducedMotion/index.js +11 -0
- package/hooks/useReducedMotion/index.js.map +1 -0
- package/index.cjs +200 -140
- package/index.cjs.map +1 -1
- package/index.d.ts +597 -2
- package/index.js +30 -0
- package/index.js.map +1 -1
- package/motion/index.cjs +53 -0
- package/motion/index.cjs.map +1 -0
- package/motion/index.js +51 -0
- package/motion/index.js.map +1 -0
- package/package.json +1 -1
- package/primitives/AccentEdge/index.cjs +10 -0
- package/primitives/AccentEdge/index.cjs.map +1 -0
- package/primitives/AccentEdge/index.js +6 -0
- package/primitives/AccentEdge/index.js.map +1 -0
- package/primitives/DotGrid/index.cjs +10 -0
- package/primitives/DotGrid/index.cjs.map +1 -0
- package/primitives/DotGrid/index.js +6 -0
- package/primitives/DotGrid/index.js.map +1 -0
- package/primitives/Striped/index.cjs +10 -0
- package/primitives/Striped/index.cjs.map +1 -0
- package/primitives/Striped/index.js +6 -0
- package/primitives/Striped/index.js.map +1 -0
- package/primitives/Wash/index.cjs +10 -0
- package/primitives/Wash/index.cjs.map +1 -0
- package/primitives/Wash/index.js +6 -0
- package/primitives/Wash/index.js.map +1 -0
- package/utils/Color.cjs +8 -0
- package/utils/Color.cjs.map +1 -0
- package/utils/Color.js +6 -0
- package/utils/Color.js.map +1 -0
- package/utils/Number.cjs +8 -0
- package/utils/Number.cjs.map +1 -0
- package/utils/Number.js +6 -0
- package/utils/Number.js.map +1 -0
package/index.js
CHANGED
|
@@ -9,6 +9,10 @@ export { default as Skeleton } from './primitives/Skeleton/index.js';
|
|
|
9
9
|
export { default as Svg } from './primitives/Svg/index.js';
|
|
10
10
|
export { default as Link } from './primitives/Link/index.js';
|
|
11
11
|
export { default as Card } from './primitives/Card/index.js';
|
|
12
|
+
export { default as AccentEdge } from './primitives/AccentEdge/index.js';
|
|
13
|
+
export { default as Wash } from './primitives/Wash/index.js';
|
|
14
|
+
export { default as DotGrid } from './primitives/DotGrid/index.js';
|
|
15
|
+
export { default as Striped } from './primitives/Striped/index.js';
|
|
12
16
|
export { Button } from './components/Button/Button.js';
|
|
13
17
|
import 'react';
|
|
14
18
|
export { Badge } from './components/Badge/index.js';
|
|
@@ -33,6 +37,24 @@ export { StatePill } from './components/StatePill/index.js';
|
|
|
33
37
|
export { Avatar, AvatarStack } from './components/Avatar/index.js';
|
|
34
38
|
export { Stepper } from './components/Stepper/index.js';
|
|
35
39
|
export { StatCard, StatGroup } from './components/StatCard/index.js';
|
|
40
|
+
export { default as Rise } from './components/Rise/index.js';
|
|
41
|
+
export { default as Delta } from './components/Delta/index.js';
|
|
42
|
+
export { default as Legend } from './components/Legend/index.js';
|
|
43
|
+
export { default as Tip } from './components/Tip/index.js';
|
|
44
|
+
export { default as Sparkline } from './components/Sparkline/index.js';
|
|
45
|
+
export { default as MetricCard } from './components/MetricCard/index.js';
|
|
46
|
+
export { default as ActionCard } from './components/ActionCard/index.js';
|
|
47
|
+
export { default as StatusCard } from './components/StatusCard/index.js';
|
|
48
|
+
export { default as WidgetPanel } from './components/WidgetPanel/index.js';
|
|
49
|
+
export { default as KitsBarChart } from './components/BarChart/index.js';
|
|
50
|
+
export { default as GroupedBars } from './components/GroupedBars/index.js';
|
|
51
|
+
export { default as KitsLineChart } from './components/LineChart/index.js';
|
|
52
|
+
export { default as RankedList } from './components/RankedList/index.js';
|
|
53
|
+
export { default as Donut } from './components/Donut/index.js';
|
|
54
|
+
export { default as Gauge } from './components/Gauge/index.js';
|
|
55
|
+
export { default as StackedBars } from './components/StackedBars/index.js';
|
|
56
|
+
export { default as KitsRadar } from './components/Radar/index.js';
|
|
57
|
+
export { default as MapTile } from './components/MapTile/index.js';
|
|
36
58
|
export { ProgressBar } from './components/ProgressBar/index.js';
|
|
37
59
|
export { Timeline } from './components/Timeline/index.js';
|
|
38
60
|
export { EmptyState } from './components/EmptyState/index.js';
|
|
@@ -90,6 +112,11 @@ export { KeyboardNavContext, useKeyboardNav, useKeyboardNavProvider } from './ho
|
|
|
90
112
|
export { useFormFieldKeyboardNav } from './hooks/useFormFieldKeyboardNav.js';
|
|
91
113
|
export { default as useThemedFont } from './hooks/useThemedFont.js';
|
|
92
114
|
export { default as useRtlLineHeight } from './hooks/useRtlLineHeight.js';
|
|
115
|
+
export { useReducedMotion } from './hooks/useReducedMotion/index.js';
|
|
116
|
+
export { default as useEnter } from './hooks/useEnter.js';
|
|
117
|
+
export { default as useCountUp } from './hooks/useCountUp.js';
|
|
118
|
+
export { default as useMeasuredWidth } from './hooks/useMeasuredWidth.js';
|
|
119
|
+
export { kitsMotion } from './motion/index.js';
|
|
93
120
|
export { IconMap } from './assets/Icons/index.js';
|
|
94
121
|
export { default as localeFiles } from './locale/index.js';
|
|
95
122
|
export { EDateFormat, EKeyFilter } from './packages/types/src/Components/Molecules/Form/Base/enums.js';
|
|
@@ -122,11 +149,14 @@ export { default as VStack } from './layout/VStack/index.js';
|
|
|
122
149
|
export { AlertDescription, AlertIcon, AlertTitle } from './components/Alert/alert.js';
|
|
123
150
|
export { AnyFile } from './utils/File.js';
|
|
124
151
|
export { KitsThemeProvider, useKitsTheme, useNativeColorMap } from './contexts/Theme/KitsThemeProvider.js';
|
|
152
|
+
export { ReducedMotionProvider } from './hooks/useReducedMotion/context.js';
|
|
125
153
|
export { capitalizeFirstLetter, getURLParams } from './utils/String.js';
|
|
126
154
|
export { checkNameDuplication, flattenSlotStyles, formFileValidation, getCombinedChildIds, getDefaultValues, getPropertyByPath } from './form-renderer/utils/helpers.js';
|
|
155
|
+
export { colorWithAlpha } from './utils/Color.js';
|
|
127
156
|
export { dateTimeFormat } from './utils/Lib.js';
|
|
128
157
|
export { downloadCanvas } from './utils/Canvas.js';
|
|
129
158
|
export { dynamicList } from './form-renderer/utils/dynamicList.js';
|
|
159
|
+
export { formatNumber } from './utils/Number.js';
|
|
130
160
|
export { getCustomDateTime, getDateElements, isToday, timeAgo, timeSince } from './utils/Date.js';
|
|
131
161
|
export { getParams } from './utils/Arrays.js';
|
|
132
162
|
export { isNumber, isValidURL } from './utils/URL.js';
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/motion/index.cjs
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const kitsMotion = {
|
|
4
|
+
easing: {
|
|
5
|
+
/** Entrance easing curve used by all widget entrance transitions. */
|
|
6
|
+
enter: "cubic-bezier(.22,.9,.28,1)"
|
|
7
|
+
},
|
|
8
|
+
/** Durations in ms. */
|
|
9
|
+
duration: {
|
|
10
|
+
/** Opacity part of the card fade-rise entrance. */
|
|
11
|
+
rise: 480,
|
|
12
|
+
/** TranslateY part of the card fade-rise entrance. */
|
|
13
|
+
riseTransform: 560,
|
|
14
|
+
/** Number count-up. */
|
|
15
|
+
countUp: 850,
|
|
16
|
+
/** Sparkline / single-line draw-in. */
|
|
17
|
+
draw: 700,
|
|
18
|
+
/** Multi-series line draw-in (full-width charts). */
|
|
19
|
+
drawLong: 1e3,
|
|
20
|
+
/** Bar grow from the baseline. */
|
|
21
|
+
grow: 620,
|
|
22
|
+
/** Donut segment sweep. */
|
|
23
|
+
sweep: 700,
|
|
24
|
+
/** Radial gauge sweep. */
|
|
25
|
+
gauge: 950,
|
|
26
|
+
/** Hover reveal / lift transitions. */
|
|
27
|
+
hover: 200,
|
|
28
|
+
/** Hover dim of non-hovered chart elements. */
|
|
29
|
+
dim: 150
|
|
30
|
+
},
|
|
31
|
+
/** Stagger offsets in ms between sibling elements. */
|
|
32
|
+
stagger: {
|
|
33
|
+
/** Between sibling cards in a row. */
|
|
34
|
+
card: 70,
|
|
35
|
+
/** Between bars of a bar chart. */
|
|
36
|
+
bar: 45,
|
|
37
|
+
/** Between grouped-bar categories. */
|
|
38
|
+
pair: 50,
|
|
39
|
+
/** Between the bars inside one grouped pair. */
|
|
40
|
+
pairInner: 60,
|
|
41
|
+
/** Between the series of a multi-line chart. */
|
|
42
|
+
series: 140,
|
|
43
|
+
/** Between donut segments. */
|
|
44
|
+
segment: 130,
|
|
45
|
+
/** Between ranked-list rows. */
|
|
46
|
+
row: 70
|
|
47
|
+
},
|
|
48
|
+
/** Base delay before any entrance starts (lets layout settle first). */
|
|
49
|
+
enterBaseDelay: 40
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
exports.kitsMotion = kitsMotion;
|
|
53
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../src/motion/index.ts"],"sourcesContent":["/**\n * Motion tokens for the widget/dashboard component family.\n *\n * Single source of truth for entrance-animation timing — components must\n * import from here rather than scatter magic numbers. These are runtime\n * constants shared by the web and native builds (not theme tokens, and not\n * a preset-name vocabulary — see `EnteringAnimation` / `AnimationsValues`\n * for those, which this module deliberately does not extend).\n *\n * Motion principles for the family: rich entrance, subtle hover, calm at\n * rest (no looping motion). Every animated component must consult\n * `useReducedMotion()` and render its final state instantly when it\n * returns true.\n */\nexport const kitsMotion = {\n easing: {\n /** Entrance easing curve used by all widget entrance transitions. */\n enter: \"cubic-bezier(.22,.9,.28,1)\",\n },\n /** Durations in ms. */\n duration: {\n /** Opacity part of the card fade-rise entrance. */\n rise: 480,\n /** TranslateY part of the card fade-rise entrance. */\n riseTransform: 560,\n /** Number count-up. */\n countUp: 850,\n /** Sparkline / single-line draw-in. */\n draw: 700,\n /** Multi-series line draw-in (full-width charts). */\n drawLong: 1000,\n /** Bar grow from the baseline. */\n grow: 620,\n /** Donut segment sweep. */\n sweep: 700,\n /** Radial gauge sweep. */\n gauge: 950,\n /** Hover reveal / lift transitions. */\n hover: 200,\n /** Hover dim of non-hovered chart elements. */\n dim: 150,\n },\n /** Stagger offsets in ms between sibling elements. */\n stagger: {\n /** Between sibling cards in a row. */\n card: 70,\n /** Between bars of a bar chart. */\n bar: 45,\n /** Between grouped-bar categories. */\n pair: 50,\n /** Between the bars inside one grouped pair. */\n pairInner: 60,\n /** Between the series of a multi-line chart. */\n series: 140,\n /** Between donut segments. */\n segment: 130,\n /** Between ranked-list rows. */\n row: 70,\n },\n /** Base delay before any entrance starts (lets layout settle first). */\n enterBaseDelay: 40,\n} as const;\n\nexport type KitsMotion = typeof kitsMotion;\n"],"names":[],"mappings":";;AAcO,MAAM,UAAA,GAAa;AAAA,EACtB,MAAA,EAAQ;AAAA;AAAA,IAEJ,KAAA,EAAO;AAAA,GACX;AAAA;AAAA,EAEA,QAAA,EAAU;AAAA;AAAA,IAEN,IAAA,EAAM,GAAA;AAAA;AAAA,IAEN,aAAA,EAAe,GAAA;AAAA;AAAA,IAEf,OAAA,EAAS,GAAA;AAAA;AAAA,IAET,IAAA,EAAM,GAAA;AAAA;AAAA,IAEN,QAAA,EAAU,GAAA;AAAA;AAAA,IAEV,IAAA,EAAM,GAAA;AAAA;AAAA,IAEN,KAAA,EAAO,GAAA;AAAA;AAAA,IAEP,KAAA,EAAO,GAAA;AAAA;AAAA,IAEP,KAAA,EAAO,GAAA;AAAA;AAAA,IAEP,GAAA,EAAK;AAAA,GACT;AAAA;AAAA,EAEA,OAAA,EAAS;AAAA;AAAA,IAEL,IAAA,EAAM,EAAA;AAAA;AAAA,IAEN,GAAA,EAAK,EAAA;AAAA;AAAA,IAEL,IAAA,EAAM,EAAA;AAAA;AAAA,IAEN,SAAA,EAAW,EAAA;AAAA;AAAA,IAEX,MAAA,EAAQ,GAAA;AAAA;AAAA,IAER,OAAA,EAAS,GAAA;AAAA;AAAA,IAET,GAAA,EAAK;AAAA,GACT;AAAA;AAAA,EAEA,cAAA,EAAgB;AACpB;;;;"}
|
package/motion/index.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
const kitsMotion = {
|
|
2
|
+
easing: {
|
|
3
|
+
/** Entrance easing curve used by all widget entrance transitions. */
|
|
4
|
+
enter: "cubic-bezier(.22,.9,.28,1)"
|
|
5
|
+
},
|
|
6
|
+
/** Durations in ms. */
|
|
7
|
+
duration: {
|
|
8
|
+
/** Opacity part of the card fade-rise entrance. */
|
|
9
|
+
rise: 480,
|
|
10
|
+
/** TranslateY part of the card fade-rise entrance. */
|
|
11
|
+
riseTransform: 560,
|
|
12
|
+
/** Number count-up. */
|
|
13
|
+
countUp: 850,
|
|
14
|
+
/** Sparkline / single-line draw-in. */
|
|
15
|
+
draw: 700,
|
|
16
|
+
/** Multi-series line draw-in (full-width charts). */
|
|
17
|
+
drawLong: 1e3,
|
|
18
|
+
/** Bar grow from the baseline. */
|
|
19
|
+
grow: 620,
|
|
20
|
+
/** Donut segment sweep. */
|
|
21
|
+
sweep: 700,
|
|
22
|
+
/** Radial gauge sweep. */
|
|
23
|
+
gauge: 950,
|
|
24
|
+
/** Hover reveal / lift transitions. */
|
|
25
|
+
hover: 200,
|
|
26
|
+
/** Hover dim of non-hovered chart elements. */
|
|
27
|
+
dim: 150
|
|
28
|
+
},
|
|
29
|
+
/** Stagger offsets in ms between sibling elements. */
|
|
30
|
+
stagger: {
|
|
31
|
+
/** Between sibling cards in a row. */
|
|
32
|
+
card: 70,
|
|
33
|
+
/** Between bars of a bar chart. */
|
|
34
|
+
bar: 45,
|
|
35
|
+
/** Between grouped-bar categories. */
|
|
36
|
+
pair: 50,
|
|
37
|
+
/** Between the bars inside one grouped pair. */
|
|
38
|
+
pairInner: 60,
|
|
39
|
+
/** Between the series of a multi-line chart. */
|
|
40
|
+
series: 140,
|
|
41
|
+
/** Between donut segments. */
|
|
42
|
+
segment: 130,
|
|
43
|
+
/** Between ranked-list rows. */
|
|
44
|
+
row: 70
|
|
45
|
+
},
|
|
46
|
+
/** Base delay before any entrance starts (lets layout settle first). */
|
|
47
|
+
enterBaseDelay: 40
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export { kitsMotion };
|
|
51
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/motion/index.ts"],"sourcesContent":["/**\n * Motion tokens for the widget/dashboard component family.\n *\n * Single source of truth for entrance-animation timing — components must\n * import from here rather than scatter magic numbers. These are runtime\n * constants shared by the web and native builds (not theme tokens, and not\n * a preset-name vocabulary — see `EnteringAnimation` / `AnimationsValues`\n * for those, which this module deliberately does not extend).\n *\n * Motion principles for the family: rich entrance, subtle hover, calm at\n * rest (no looping motion). Every animated component must consult\n * `useReducedMotion()` and render its final state instantly when it\n * returns true.\n */\nexport const kitsMotion = {\n easing: {\n /** Entrance easing curve used by all widget entrance transitions. */\n enter: \"cubic-bezier(.22,.9,.28,1)\",\n },\n /** Durations in ms. */\n duration: {\n /** Opacity part of the card fade-rise entrance. */\n rise: 480,\n /** TranslateY part of the card fade-rise entrance. */\n riseTransform: 560,\n /** Number count-up. */\n countUp: 850,\n /** Sparkline / single-line draw-in. */\n draw: 700,\n /** Multi-series line draw-in (full-width charts). */\n drawLong: 1000,\n /** Bar grow from the baseline. */\n grow: 620,\n /** Donut segment sweep. */\n sweep: 700,\n /** Radial gauge sweep. */\n gauge: 950,\n /** Hover reveal / lift transitions. */\n hover: 200,\n /** Hover dim of non-hovered chart elements. */\n dim: 150,\n },\n /** Stagger offsets in ms between sibling elements. */\n stagger: {\n /** Between sibling cards in a row. */\n card: 70,\n /** Between bars of a bar chart. */\n bar: 45,\n /** Between grouped-bar categories. */\n pair: 50,\n /** Between the bars inside one grouped pair. */\n pairInner: 60,\n /** Between the series of a multi-line chart. */\n series: 140,\n /** Between donut segments. */\n segment: 130,\n /** Between ranked-list rows. */\n row: 70,\n },\n /** Base delay before any entrance starts (lets layout settle first). */\n enterBaseDelay: 40,\n} as const;\n\nexport type KitsMotion = typeof kitsMotion;\n"],"names":[],"mappings":"AAcO,MAAM,UAAA,GAAa;AAAA,EACtB,MAAA,EAAQ;AAAA;AAAA,IAEJ,KAAA,EAAO;AAAA,GACX;AAAA;AAAA,EAEA,QAAA,EAAU;AAAA;AAAA,IAEN,IAAA,EAAM,GAAA;AAAA;AAAA,IAEN,aAAA,EAAe,GAAA;AAAA;AAAA,IAEf,OAAA,EAAS,GAAA;AAAA;AAAA,IAET,IAAA,EAAM,GAAA;AAAA;AAAA,IAEN,QAAA,EAAU,GAAA;AAAA;AAAA,IAEV,IAAA,EAAM,GAAA;AAAA;AAAA,IAEN,KAAA,EAAO,GAAA;AAAA;AAAA,IAEP,KAAA,EAAO,GAAA;AAAA;AAAA,IAEP,KAAA,EAAO,GAAA;AAAA;AAAA,IAEP,GAAA,EAAK;AAAA,GACT;AAAA;AAAA,EAEA,OAAA,EAAS;AAAA;AAAA,IAEL,IAAA,EAAM,EAAA;AAAA;AAAA,IAEN,GAAA,EAAK,EAAA;AAAA;AAAA,IAEL,IAAA,EAAM,EAAA;AAAA;AAAA,IAEN,SAAA,EAAW,EAAA;AAAA;AAAA,IAEX,MAAA,EAAQ,GAAA;AAAA;AAAA,IAER,OAAA,EAAS,GAAA;AAAA;AAAA,IAET,GAAA,EAAK;AAAA,GACT;AAAA;AAAA,EAEA,cAAA,EAAgB;AACpB;;;;"}
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../src/primitives/AccentEdge/index.native.tsx"],"sourcesContent":["import type {IAccentEdgeProps} from \"@lmb-it/kitsconcerto-types\";\n\n/** Native stub — the widget family is web-only (matches the Widgets.* precedent). */\nfunction AccentEdge(_props: IAccentEdgeProps) {\n return null;\n}\n\nexport default AccentEdge;\n"],"names":[],"mappings":";;;;AAGA,SAAS,WAAW,MAAA,EAA0B;AAC1C,EAAA,OAAO,IAAA;AACX;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/primitives/AccentEdge/index.native.tsx"],"sourcesContent":["import type {IAccentEdgeProps} from \"@lmb-it/kitsconcerto-types\";\n\n/** Native stub — the widget family is web-only (matches the Widgets.* precedent). */\nfunction AccentEdge(_props: IAccentEdgeProps) {\n return null;\n}\n\nexport default AccentEdge;\n"],"names":[],"mappings":"AAGA,SAAS,WAAW,MAAA,EAA0B;AAC1C,EAAA,OAAO,IAAA;AACX;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../src/primitives/DotGrid/index.native.tsx"],"sourcesContent":["import type {IDotGridProps} from \"@lmb-it/kitsconcerto-types\";\n\n/** Native stub — the widget family is web-only (matches the Widgets.* precedent). */\nfunction DotGrid(_props: IDotGridProps) {\n return null;\n}\n\nexport default DotGrid;\n"],"names":[],"mappings":";;;;AAGA,SAAS,QAAQ,MAAA,EAAuB;AACpC,EAAA,OAAO,IAAA;AACX;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/primitives/DotGrid/index.native.tsx"],"sourcesContent":["import type {IDotGridProps} from \"@lmb-it/kitsconcerto-types\";\n\n/** Native stub — the widget family is web-only (matches the Widgets.* precedent). */\nfunction DotGrid(_props: IDotGridProps) {\n return null;\n}\n\nexport default DotGrid;\n"],"names":[],"mappings":"AAGA,SAAS,QAAQ,MAAA,EAAuB;AACpC,EAAA,OAAO,IAAA;AACX;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../src/primitives/Striped/index.native.tsx"],"sourcesContent":["import type {IStripedProps} from \"@lmb-it/kitsconcerto-types\";\n\n/** Native stub — the widget family is web-only (matches the Widgets.* precedent). */\nfunction Striped(_props: IStripedProps) {\n return null;\n}\n\nexport default Striped;\n"],"names":[],"mappings":";;;;AAGA,SAAS,QAAQ,MAAA,EAAuB;AACpC,EAAA,OAAO,IAAA;AACX;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/primitives/Striped/index.native.tsx"],"sourcesContent":["import type {IStripedProps} from \"@lmb-it/kitsconcerto-types\";\n\n/** Native stub — the widget family is web-only (matches the Widgets.* precedent). */\nfunction Striped(_props: IStripedProps) {\n return null;\n}\n\nexport default Striped;\n"],"names":[],"mappings":"AAGA,SAAS,QAAQ,MAAA,EAAuB;AACpC,EAAA,OAAO,IAAA;AACX;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../src/primitives/Wash/index.native.tsx"],"sourcesContent":["import type {IWashProps} from \"@lmb-it/kitsconcerto-types\";\n\n/** Native stub — the widget family is web-only (matches the Widgets.* precedent). */\nfunction Wash(_props: IWashProps) {\n return null;\n}\n\nexport default Wash;\n"],"names":[],"mappings":";;;;AAGA,SAAS,KAAK,MAAA,EAAoB;AAC9B,EAAA,OAAO,IAAA;AACX;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/primitives/Wash/index.native.tsx"],"sourcesContent":["import type {IWashProps} from \"@lmb-it/kitsconcerto-types\";\n\n/** Native stub — the widget family is web-only (matches the Widgets.* precedent). */\nfunction Wash(_props: IWashProps) {\n return null;\n}\n\nexport default Wash;\n"],"names":[],"mappings":"AAGA,SAAS,KAAK,MAAA,EAAoB;AAC9B,EAAA,OAAO,IAAA;AACX;;;;"}
|
package/utils/Color.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Color.cjs","sources":["../../../src/utils/Color.ts"],"sourcesContent":["/**\n * Returns `color` at the given alpha (0–1) without parsing it — works for\n * hex, rgb()/hsl(), and `var(--kits-*)` token values alike via CSS\n * `color-mix()`. Web-only: the returned string is CSS, meaningless to\n * React Native styles — on native pass concrete rgba values instead.\n */\nexport function colorWithAlpha(color: string, alpha: number): string {\n return `color-mix(in srgb, ${color} ${Math.round(alpha * 100)}%, transparent)`;\n}\n"],"names":[],"mappings":";;AAMO,SAAS,cAAA,CAAe,OAAe,KAAA,EAAuB;AACjE,EAAA,OAAO,sBAAsB,KAAK,CAAA,CAAA,EAAI,KAAK,KAAA,CAAM,KAAA,GAAQ,GAAG,CAAC,CAAA,eAAA,CAAA;AACjE;;;;"}
|
package/utils/Color.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Color.js","sources":["../../../src/utils/Color.ts"],"sourcesContent":["/**\n * Returns `color` at the given alpha (0–1) without parsing it — works for\n * hex, rgb()/hsl(), and `var(--kits-*)` token values alike via CSS\n * `color-mix()`. Web-only: the returned string is CSS, meaningless to\n * React Native styles — on native pass concrete rgba values instead.\n */\nexport function colorWithAlpha(color: string, alpha: number): string {\n return `color-mix(in srgb, ${color} ${Math.round(alpha * 100)}%, transparent)`;\n}\n"],"names":[],"mappings":"AAMO,SAAS,cAAA,CAAe,OAAe,KAAA,EAAuB;AACjE,EAAA,OAAO,sBAAsB,KAAK,CAAA,CAAA,EAAI,KAAK,KAAA,CAAM,KAAA,GAAQ,GAAG,CAAC,CAAA,eAAA,CAAA;AACjE;;;;"}
|
package/utils/Number.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Number.cjs","sources":["../../../src/utils/Number.ts"],"sourcesContent":["/**\n * Locale-aware number formatting on `Intl.NumberFormat`. No default locale\n * is baked in — the library stays project-agnostic; consumers pass their\n * own locale (e.g. `formatNumber(n, 'en-AU')`). `undefined` uses the\n * runtime's default locale.\n */\nexport function formatNumber(\n value: number,\n locale?: string | string[],\n options?: Intl.NumberFormatOptions,\n): string {\n return new Intl.NumberFormat(locale, options).format(value);\n}\n"],"names":[],"mappings":";;AAMO,SAAS,YAAA,CACZ,KAAA,EACA,MAAA,EACA,OAAA,EACM;AACN,EAAA,OAAO,IAAI,IAAA,CAAK,YAAA,CAAa,QAAQ,OAAO,CAAA,CAAE,OAAO,KAAK,CAAA;AAC9D;;;;"}
|
package/utils/Number.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Number.js","sources":["../../../src/utils/Number.ts"],"sourcesContent":["/**\n * Locale-aware number formatting on `Intl.NumberFormat`. No default locale\n * is baked in — the library stays project-agnostic; consumers pass their\n * own locale (e.g. `formatNumber(n, 'en-AU')`). `undefined` uses the\n * runtime's default locale.\n */\nexport function formatNumber(\n value: number,\n locale?: string | string[],\n options?: Intl.NumberFormatOptions,\n): string {\n return new Intl.NumberFormat(locale, options).format(value);\n}\n"],"names":[],"mappings":"AAMO,SAAS,YAAA,CACZ,KAAA,EACA,MAAA,EACA,OAAA,EACM;AACN,EAAA,OAAO,IAAI,IAAA,CAAK,YAAA,CAAa,QAAQ,OAAO,CAAA,CAAE,OAAO,KAAK,CAAA;AAC9D;;;;"}
|