@kismet-ux/constellation 1.1.0 → 1.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/form/Checkbox/checkbox.js +2 -0
- package/dist/form/Checkbox/checkbox.js.map +1 -1
- package/dist/form/DatePicker/date-picker.js +2 -0
- package/dist/form/DatePicker/date-picker.js.map +1 -1
- package/dist/form.d.ts +1 -1
- package/dist/{index-CBGZtocA.d.ts → index-BwTP9oMP.d.ts} +1 -1
- package/dist/{index-BeCWb0Ix.d.ts → index-DCtv8Gm1.d.ts} +61 -16
- package/dist/{index-DVEBz660.d.ts → index-h4thndEb.d.ts} +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/layout/AppSidebarHeader/app-sidebar-header.js +2 -0
- package/dist/layout/AppSidebarHeader/app-sidebar-header.js.map +1 -1
- package/dist/layout.d.ts +2 -2
- package/dist/navigation/Sheet/sheet.js +2 -0
- package/dist/navigation/Sheet/sheet.js.map +1 -1
- package/dist/navigation.d.ts +1 -1
- package/dist/settings/AppearanceTabs/appearance-tabs.js +2 -0
- package/dist/settings/AppearanceTabs/appearance-tabs.js.map +1 -1
- package/dist/styles/tokens.d.ts +2 -0
- package/dist/styles/tokens.d.ts.map +1 -0
- package/dist/styles/tokens.js +2 -0
- package/dist/styles/tokens.js.map +1 -0
- package/dist/tokens.css +435 -0
- package/dist/{tooltip-zOT3UHCF.d.ts → tooltip-C25-bG7o.d.ts} +2 -2
- package/dist/ui/Chip/chip-variants.d.ts +6 -1
- package/dist/ui/Chip/chip-variants.d.ts.map +1 -1
- package/dist/ui/Chip/chip-variants.js +19 -2
- package/dist/ui/Chip/chip-variants.js.map +1 -1
- package/dist/ui/Chip/chip.css +97 -47
- package/dist/ui/Chip/chip.d.ts +14 -0
- package/dist/ui/Chip/chip.d.ts.map +1 -1
- package/dist/ui/Chip/chip.js +10 -2
- package/dist/ui/Chip/chip.js.map +1 -1
- package/dist/ui/Chip/chip.module.scss.js +1 -1
- package/dist/ui/StatusDot/index.d.ts +3 -0
- package/dist/ui/StatusDot/index.d.ts.map +1 -0
- package/dist/ui/StatusDot/status-dot-variants.d.ts +7 -0
- package/dist/ui/StatusDot/status-dot-variants.d.ts.map +1 -0
- package/dist/ui/StatusDot/status-dot-variants.js +28 -0
- package/dist/ui/StatusDot/status-dot-variants.js.map +1 -0
- package/dist/ui/StatusDot/status-dot.css +61 -0
- package/dist/ui/StatusDot/status-dot.d.ts +23 -0
- package/dist/ui/StatusDot/status-dot.d.ts.map +1 -0
- package/dist/ui/StatusDot/status-dot.js +23 -0
- package/dist/ui/StatusDot/status-dot.js.map +1 -0
- package/dist/ui/StatusDot/status-dot.module.scss.js +6 -0
- package/dist/ui/StatusDot/status-dot.module.scss.js.map +1 -0
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui.d.ts +2 -2
- package/dist/ui.js +2 -0
- package/dist/ui.js.map +1 -1
- package/package.json +5 -1
package/dist/ui/Chip/chip.css
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
/**
|
|
2
3
|
* Size config. `icon-size` scales SVGs rendered as direct children to match
|
|
3
4
|
* the chip's visual weight. `padding-with-icon` trims horizontal padding
|
|
@@ -22,6 +23,43 @@
|
|
|
22
23
|
.chip-module_chip--wrap__YvZ3D {
|
|
23
24
|
white-space: normal;
|
|
24
25
|
}
|
|
26
|
+
.chip-module_chip--mono__SMCPR {
|
|
27
|
+
font-family: var(--font-mono), monospace;
|
|
28
|
+
font-variant-numeric: tabular-nums;
|
|
29
|
+
}
|
|
30
|
+
.chip-module_chip--uppercase__bLI8t {
|
|
31
|
+
font-weight: 700;
|
|
32
|
+
letter-spacing: 0.06em;
|
|
33
|
+
text-transform: uppercase;
|
|
34
|
+
}
|
|
35
|
+
.chip-module_chip--rounded__epRJb {
|
|
36
|
+
border-radius: var(--radius-xs);
|
|
37
|
+
}
|
|
38
|
+
.chip-module_chip--dashed__trSp1 {
|
|
39
|
+
border-style: dashed;
|
|
40
|
+
}
|
|
41
|
+
.chip-module_chip--2xs__GJtZF {
|
|
42
|
+
font-size: 0.56rem;
|
|
43
|
+
padding: 0 0.25rem;
|
|
44
|
+
}
|
|
45
|
+
.chip-module_chip--2xs__GJtZF > svg {
|
|
46
|
+
height: 0.6rem;
|
|
47
|
+
width: 0.6rem;
|
|
48
|
+
}
|
|
49
|
+
.chip-module_chip--2xs__GJtZF:has(> svg) {
|
|
50
|
+
padding: 0 0.2rem;
|
|
51
|
+
}
|
|
52
|
+
.chip-module_chip--xs__Smd5u {
|
|
53
|
+
font-size: 0.66rem;
|
|
54
|
+
padding: 0.1rem 0.4rem;
|
|
55
|
+
}
|
|
56
|
+
.chip-module_chip--xs__Smd5u > svg {
|
|
57
|
+
height: 0.7rem;
|
|
58
|
+
width: 0.7rem;
|
|
59
|
+
}
|
|
60
|
+
.chip-module_chip--xs__Smd5u:has(> svg) {
|
|
61
|
+
padding: 0.1rem 0.32rem;
|
|
62
|
+
}
|
|
25
63
|
.chip-module_chip--sm___bJkU {
|
|
26
64
|
font-size: 0.72rem;
|
|
27
65
|
padding: 0.15rem 0.5rem;
|
|
@@ -44,12 +82,14 @@
|
|
|
44
82
|
.chip-module_chip--md__N7LAU:has(> svg) {
|
|
45
83
|
padding: 0.25rem 0.55rem;
|
|
46
84
|
}
|
|
47
|
-
.chip-module_chip__u4PJ9
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
85
|
+
.chip-module_chip__u4PJ9 {
|
|
86
|
+
/**
|
|
87
|
+
* Each theme resolves four roles. Every one is written as
|
|
88
|
+
* `var(--chip-color, <token>)`, so setting a single `--chip-color` on the
|
|
89
|
+
* element overrides the whole set — that is the escape hatch for a colour
|
|
90
|
+
* the theme scale does not have (a diet marker, a category hue), without
|
|
91
|
+
* needing a bespoke component.
|
|
92
|
+
*/
|
|
53
93
|
}
|
|
54
94
|
.chip-module_chip__u4PJ9.chip-module_chip--primary__kBS6M {
|
|
55
95
|
--themed-main: var(--primary-main);
|
|
@@ -62,12 +102,10 @@
|
|
|
62
102
|
--themed-focus-visible: var(--primary-focus-visible);
|
|
63
103
|
--themed-outlined-border: var(--primary-outlined-border);
|
|
64
104
|
--themed-selected: var(--primary-selected);
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
.chip-module_chip__u4PJ9.chip-module_chip--primary__kBS6M:hover {
|
|
70
|
-
background-color: color-mix(in srgb, var(--primary-hover) 40%, transparent);
|
|
105
|
+
--chip-ink: var(--chip-color, var(--primary-outlined-border));
|
|
106
|
+
--chip-fill: var(--chip-color, var(--primary-main));
|
|
107
|
+
--chip-wash: var(--chip-color, var(--primary-hover));
|
|
108
|
+
--chip-on-fill: var(--primary-contrast);
|
|
71
109
|
}
|
|
72
110
|
.chip-module_chip__u4PJ9.chip-module_chip--secondary__eyfdz {
|
|
73
111
|
--themed-main: var(--secondary-main);
|
|
@@ -80,12 +118,10 @@
|
|
|
80
118
|
--themed-focus-visible: var(--secondary-focus-visible);
|
|
81
119
|
--themed-outlined-border: var(--secondary-outlined-border);
|
|
82
120
|
--themed-selected: var(--secondary-selected);
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
.chip-module_chip__u4PJ9.chip-module_chip--secondary__eyfdz:hover {
|
|
88
|
-
background-color: color-mix(in srgb, var(--secondary-hover) 40%, transparent);
|
|
121
|
+
--chip-ink: var(--chip-color, var(--secondary-outlined-border));
|
|
122
|
+
--chip-fill: var(--chip-color, var(--secondary-main));
|
|
123
|
+
--chip-wash: var(--chip-color, var(--secondary-hover));
|
|
124
|
+
--chip-on-fill: var(--secondary-contrast);
|
|
89
125
|
}
|
|
90
126
|
.chip-module_chip__u4PJ9.chip-module_chip--destructive__80JrW {
|
|
91
127
|
--themed-main: var(--destructive-main);
|
|
@@ -98,12 +134,10 @@
|
|
|
98
134
|
--themed-focus-visible: var(--destructive-focus-visible);
|
|
99
135
|
--themed-outlined-border: var(--destructive-outlined-border);
|
|
100
136
|
--themed-selected: var(--destructive-selected);
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
.chip-module_chip__u4PJ9.chip-module_chip--destructive__80JrW:hover {
|
|
106
|
-
background-color: color-mix(in srgb, var(--destructive-hover) 40%, transparent);
|
|
137
|
+
--chip-ink: var(--chip-color, var(--destructive-outlined-border));
|
|
138
|
+
--chip-fill: var(--chip-color, var(--destructive-main));
|
|
139
|
+
--chip-wash: var(--chip-color, var(--destructive-hover));
|
|
140
|
+
--chip-on-fill: var(--destructive-contrast);
|
|
107
141
|
}
|
|
108
142
|
.chip-module_chip__u4PJ9.chip-module_chip--warning__3oxvl {
|
|
109
143
|
--themed-main: var(--warning-main);
|
|
@@ -116,12 +150,10 @@
|
|
|
116
150
|
--themed-focus-visible: var(--warning-focus-visible);
|
|
117
151
|
--themed-outlined-border: var(--warning-outlined-border);
|
|
118
152
|
--themed-selected: var(--warning-selected);
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
.chip-module_chip__u4PJ9.chip-module_chip--warning__3oxvl:hover {
|
|
124
|
-
background-color: color-mix(in srgb, var(--warning-hover) 40%, transparent);
|
|
153
|
+
--chip-ink: var(--chip-color, var(--warning-outlined-border));
|
|
154
|
+
--chip-fill: var(--chip-color, var(--warning-main));
|
|
155
|
+
--chip-wash: var(--chip-color, var(--warning-hover));
|
|
156
|
+
--chip-on-fill: var(--warning-contrast);
|
|
125
157
|
}
|
|
126
158
|
.chip-module_chip__u4PJ9.chip-module_chip--success__VF1tZ {
|
|
127
159
|
--themed-main: var(--success-main);
|
|
@@ -134,12 +166,10 @@
|
|
|
134
166
|
--themed-focus-visible: var(--success-focus-visible);
|
|
135
167
|
--themed-outlined-border: var(--success-outlined-border);
|
|
136
168
|
--themed-selected: var(--success-selected);
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
.chip-module_chip__u4PJ9.chip-module_chip--success__VF1tZ:hover {
|
|
142
|
-
background-color: color-mix(in srgb, var(--success-hover) 40%, transparent);
|
|
169
|
+
--chip-ink: var(--chip-color, var(--success-outlined-border));
|
|
170
|
+
--chip-fill: var(--chip-color, var(--success-main));
|
|
171
|
+
--chip-wash: var(--chip-color, var(--success-hover));
|
|
172
|
+
--chip-on-fill: var(--success-contrast);
|
|
143
173
|
}
|
|
144
174
|
.chip-module_chip__u4PJ9.chip-module_chip--info__Jgnsc {
|
|
145
175
|
--themed-main: var(--info-main);
|
|
@@ -152,12 +182,10 @@
|
|
|
152
182
|
--themed-focus-visible: var(--info-focus-visible);
|
|
153
183
|
--themed-outlined-border: var(--info-outlined-border);
|
|
154
184
|
--themed-selected: var(--info-selected);
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
.chip-module_chip__u4PJ9.chip-module_chip--info__Jgnsc:hover {
|
|
160
|
-
background-color: color-mix(in srgb, var(--info-hover) 40%, transparent);
|
|
185
|
+
--chip-ink: var(--chip-color, var(--info-outlined-border));
|
|
186
|
+
--chip-fill: var(--chip-color, var(--info-main));
|
|
187
|
+
--chip-wash: var(--chip-color, var(--info-hover));
|
|
188
|
+
--chip-on-fill: var(--info-contrast);
|
|
161
189
|
}
|
|
162
190
|
.chip-module_chip__u4PJ9.chip-module_chip--slate__vmQ7R {
|
|
163
191
|
--themed-main: var(--slate-main);
|
|
@@ -170,10 +198,32 @@
|
|
|
170
198
|
--themed-focus-visible: var(--slate-focus-visible);
|
|
171
199
|
--themed-outlined-border: var(--slate-outlined-border);
|
|
172
200
|
--themed-selected: var(--slate-selected);
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
201
|
+
--chip-ink: var(--chip-color, var(--slate-outlined-border));
|
|
202
|
+
--chip-fill: var(--chip-color, var(--slate-main));
|
|
203
|
+
--chip-wash: var(--chip-color, var(--slate-hover));
|
|
204
|
+
--chip-on-fill: var(--slate-contrast);
|
|
176
205
|
}
|
|
177
|
-
.chip-module_chip__u4PJ9.chip-module_chip--
|
|
178
|
-
|
|
206
|
+
.chip-module_chip__u4PJ9.chip-module_chip--inherit__HjU_P {
|
|
207
|
+
--chip-ink: var(--chip-color, currentColor);
|
|
208
|
+
--chip-fill: var(--chip-color, currentColor);
|
|
209
|
+
--chip-wash: var(--chip-color, var(--themed-hover, var(--action-hover)));
|
|
210
|
+
--chip-on-fill: var(--themed-contrast, var(--background-default));
|
|
211
|
+
}
|
|
212
|
+
.chip-module_chip--soft__zYBtU {
|
|
213
|
+
background-color: color-mix(in srgb, var(--chip-wash) 20%, transparent);
|
|
214
|
+
border-color: var(--chip-ink);
|
|
215
|
+
color: var(--chip-ink);
|
|
216
|
+
}
|
|
217
|
+
.chip-module_chip--soft__zYBtU:hover {
|
|
218
|
+
background-color: color-mix(in srgb, var(--chip-wash) 40%, transparent);
|
|
219
|
+
}
|
|
220
|
+
.chip-module_chip--outline__TO-HF {
|
|
221
|
+
background-color: transparent;
|
|
222
|
+
border-color: color-mix(in srgb, var(--chip-ink) 55%, transparent);
|
|
223
|
+
color: var(--chip-ink);
|
|
224
|
+
}
|
|
225
|
+
.chip-module_chip--solid__F89cD {
|
|
226
|
+
background-color: var(--chip-fill);
|
|
227
|
+
border-color: var(--chip-fill);
|
|
228
|
+
color: var(--chip-on-fill);
|
|
179
229
|
}
|
package/dist/ui/Chip/chip.d.ts
CHANGED
|
@@ -2,7 +2,21 @@ import { type VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { chipVariants } from './chip-variants';
|
|
4
4
|
export interface ChipProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof chipVariants> {
|
|
5
|
+
/**
|
|
6
|
+
* Any colour outside the theme scale — a category hue, a dietary marker.
|
|
7
|
+
* Overrides the whole set of colour roles the theme would otherwise supply,
|
|
8
|
+
* so one value is enough for every `variant`.
|
|
9
|
+
*/
|
|
10
|
+
color?: string;
|
|
5
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* A small status marker.
|
|
14
|
+
*
|
|
15
|
+
* `variant` chooses how much weight it carries: `soft` (a tinted fill, the
|
|
16
|
+
* default) reads as ambient, `outline` recedes further, and `solid` is a claim.
|
|
17
|
+
* `dashed` marks the value as provisional — a guess rather than a reading —
|
|
18
|
+
* which is a distinction worth drawing without spending a second colour on it.
|
|
19
|
+
*/
|
|
6
20
|
declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLSpanElement>>;
|
|
7
21
|
export { Chip };
|
|
8
22
|
//# sourceMappingURL=chip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chip.d.ts","sourceRoot":"","sources":["../../../src/ui/Chip/chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,WAAW,SACf,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,YAAY,CAAC,OAAO,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"chip.d.ts","sourceRoot":"","sources":["../../../src/ui/Chip/chip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,WAAW,SACf,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,YAAY,CAAC,OAAO,YAAY,CAAC;IAChF;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;GAOG;AACH,QAAA,MAAM,IAAI,mFAkCT,CAAC;AAGF,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
package/dist/ui/Chip/chip.js
CHANGED
|
@@ -4,8 +4,16 @@ import * as React from 'react';
|
|
|
4
4
|
import { withAriaHiddenChildren } from '../../internal/with-aria-hidden-children.js';
|
|
5
5
|
import { chipVariants } from './chip-variants.js';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
/**
|
|
8
|
+
* A small status marker.
|
|
9
|
+
*
|
|
10
|
+
* `variant` chooses how much weight it carries: `soft` (a tinted fill, the
|
|
11
|
+
* default) reads as ambient, `outline` recedes further, and `solid` is a claim.
|
|
12
|
+
* `dashed` marks the value as provisional — a guess rather than a reading —
|
|
13
|
+
* which is a distinction worth drawing without spending a second colour on it.
|
|
14
|
+
*/
|
|
15
|
+
const Chip = React.forwardRef(({ className, size, theme, variant, shape, dashed, mono, uppercase, wrap, color, style, children, ...props }, ref) => {
|
|
16
|
+
return (jsx("span", { "data-slot": 'chip', ref: ref, className: cn(chipVariants({ size, theme, variant, shape, dashed, mono, uppercase, wrap }), className), style: color ? { ...style, '--chip-color': color } : style, ...props, children: withAriaHiddenChildren(children) }));
|
|
9
17
|
});
|
|
10
18
|
Chip.displayName = 'Chip';
|
|
11
19
|
|
package/dist/ui/Chip/chip.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chip.js","sources":["../../../src/ui/Chip/chip.tsx"],"sourcesContent":["import { type VariantProps } from 'class-variance-authority';\nimport cn from 'clsx';\nimport * as React from 'react';\nimport { withAriaHiddenChildren } from '../../internal/with-aria-hidden-children';\nimport { chipVariants } from './chip-variants';\n\nexport interface ChipProps\n extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof chipVariants> {}\n\nconst Chip = React.forwardRef<HTMLSpanElement, ChipProps>(\n ({
|
|
1
|
+
{"version":3,"file":"chip.js","sources":["../../../src/ui/Chip/chip.tsx"],"sourcesContent":["import { type VariantProps } from 'class-variance-authority';\nimport cn from 'clsx';\nimport * as React from 'react';\nimport { withAriaHiddenChildren } from '../../internal/with-aria-hidden-children';\nimport { chipVariants } from './chip-variants';\n\nexport interface ChipProps\n extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof chipVariants> {\n /**\n * Any colour outside the theme scale — a category hue, a dietary marker.\n * Overrides the whole set of colour roles the theme would otherwise supply,\n * so one value is enough for every `variant`.\n */\n color?: string;\n}\n\n/**\n * A small status marker.\n *\n * `variant` chooses how much weight it carries: `soft` (a tinted fill, the\n * default) reads as ambient, `outline` recedes further, and `solid` is a claim.\n * `dashed` marks the value as provisional — a guess rather than a reading —\n * which is a distinction worth drawing without spending a second colour on it.\n */\nconst Chip = React.forwardRef<HTMLSpanElement, ChipProps>(\n (\n {\n className,\n size,\n theme,\n variant,\n shape,\n dashed,\n mono,\n uppercase,\n wrap,\n color,\n style,\n children,\n ...props\n },\n ref,\n ) => {\n return (\n <span\n data-slot={'chip'}\n ref={ref}\n className={cn(\n chipVariants({ size, theme, variant, shape, dashed, mono, uppercase, wrap }),\n className,\n )}\n style={color ? ({ ...style, '--chip-color': color } as React.CSSProperties) : style}\n {...props}\n >\n {withAriaHiddenChildren(children)}\n </span>\n );\n },\n);\nChip.displayName = 'Chip';\n\nexport { Chip };\n"],"names":["_jsx"],"mappings":";;;;;;AAgBA;;;;;;;AAOG;AACH,MAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAC3B,CACE,EACE,SAAS,EACT,IAAI,EACJ,KAAK,EACL,OAAO,EACP,KAAK,EACL,MAAM,EACN,IAAI,EACJ,SAAS,EACT,IAAI,EACJ,KAAK,EACL,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EACD,GAAG,KACD;AACF,IAAA,QACEA,GAAA,CAAA,MAAA,EAAA,EAAA,WAAA,EACa,MAAM,EACjB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE,CACX,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAC5E,SAAS,CACV,EACD,KAAK,EAAE,KAAK,GAAI,EAAE,GAAG,KAAK,EAAE,cAAc,EAAE,KAAK,EAA0B,GAAG,KAAK,EAAA,GAC/E,KAAK,EAAA,QAAA,EAER,sBAAsB,CAAC,QAAQ,CAAC,EAAA,CAC5B;AAEX,CAAC;AAEH,IAAI,CAAC,WAAW,GAAG,MAAM;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './chip.css';
|
|
2
2
|
|
|
3
|
-
var s = {"chip":"chip-module_chip__u4PJ9","chip--wrap":"chip-module_chip--wrap__YvZ3D","chip--
|
|
3
|
+
var s = {"chip":"chip-module_chip__u4PJ9","chip--wrap":"chip-module_chip--wrap__YvZ3D","chip--mono":"chip-module_chip--mono__SMCPR","chip--uppercase":"chip-module_chip--uppercase__bLI8t","chip--rounded":"chip-module_chip--rounded__epRJb","chip--dashed":"chip-module_chip--dashed__trSp1","chip--2xs":"chip-module_chip--2xs__GJtZF","chip--xs":"chip-module_chip--xs__Smd5u","chip--sm":"chip-module_chip--sm___bJkU","chip--md":"chip-module_chip--md__N7LAU","chip--primary":"chip-module_chip--primary__kBS6M","chip--secondary":"chip-module_chip--secondary__eyfdz","chip--destructive":"chip-module_chip--destructive__80JrW","chip--warning":"chip-module_chip--warning__3oxvl","chip--success":"chip-module_chip--success__VF1tZ","chip--info":"chip-module_chip--info__Jgnsc","chip--slate":"chip-module_chip--slate__vmQ7R","chip--inherit":"chip-module_chip--inherit__HjU_P","chip--soft":"chip-module_chip--soft__zYBtU","chip--outline":"chip-module_chip--outline__TO-HF","chip--solid":"chip-module_chip--solid__F89cD"};
|
|
4
4
|
|
|
5
5
|
export { s as default };
|
|
6
6
|
//# sourceMappingURL=chip.module.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/StatusDot/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const statusDotVariants: (props?: ({
|
|
2
|
+
theme?: "inherit" | "primary" | "secondary" | "destructive" | "warning" | "success" | "info" | "slate" | null | undefined;
|
|
3
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
4
|
+
glow?: boolean | null | undefined;
|
|
5
|
+
pulse?: boolean | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
//# sourceMappingURL=status-dot-variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-dot-variants.d.ts","sourceRoot":"","sources":["../../../src/ui/StatusDot/status-dot-variants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB;;;;;8EAqB5B,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { cva } from 'class-variance-authority';
|
|
2
|
+
import s from './status-dot.module.scss.js';
|
|
3
|
+
|
|
4
|
+
const statusDotVariants = cva(s['status-dot'], {
|
|
5
|
+
variants: {
|
|
6
|
+
theme: {
|
|
7
|
+
primary: s['status-dot--primary'],
|
|
8
|
+
secondary: s['status-dot--secondary'],
|
|
9
|
+
destructive: s['status-dot--destructive'],
|
|
10
|
+
warning: s['status-dot--warning'],
|
|
11
|
+
success: s['status-dot--success'],
|
|
12
|
+
info: s['status-dot--info'],
|
|
13
|
+
slate: s['status-dot--slate'],
|
|
14
|
+
inherit: s['status-dot--inherit'],
|
|
15
|
+
},
|
|
16
|
+
size: {
|
|
17
|
+
sm: s['status-dot--sm'],
|
|
18
|
+
md: s['status-dot--md'],
|
|
19
|
+
lg: s['status-dot--lg'],
|
|
20
|
+
},
|
|
21
|
+
glow: { true: s['status-dot--glow'] },
|
|
22
|
+
pulse: { true: s['status-dot--pulse'] },
|
|
23
|
+
},
|
|
24
|
+
defaultVariants: { theme: 'slate', size: 'md', glow: false, pulse: false },
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export { statusDotVariants };
|
|
28
|
+
//# sourceMappingURL=status-dot-variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-dot-variants.js","sources":["../../../src/ui/StatusDot/status-dot-variants.ts"],"sourcesContent":["import { cva } from 'class-variance-authority';\nimport s from './status-dot.module.scss';\n\nexport const statusDotVariants = cva(s['status-dot'], {\n variants: {\n theme: {\n primary: s['status-dot--primary'],\n secondary: s['status-dot--secondary'],\n destructive: s['status-dot--destructive'],\n warning: s['status-dot--warning'],\n success: s['status-dot--success'],\n info: s['status-dot--info'],\n slate: s['status-dot--slate'],\n inherit: s['status-dot--inherit'],\n },\n size: {\n sm: s['status-dot--sm'],\n md: s['status-dot--md'],\n lg: s['status-dot--lg'],\n },\n glow: { true: s['status-dot--glow'] },\n pulse: { true: s['status-dot--pulse'] },\n },\n defaultVariants: { theme: 'slate', size: 'md', glow: false, pulse: false },\n});\n"],"names":[],"mappings":";;;AAGO,MAAM,iBAAiB,GAAG,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,EAAE;AACpD,IAAA,QAAQ,EAAE;AACR,QAAA,KAAK,EAAE;AACL,YAAA,OAAO,EAAE,CAAC,CAAC,qBAAqB,CAAC;AACjC,YAAA,SAAS,EAAE,CAAC,CAAC,uBAAuB,CAAC;AACrC,YAAA,WAAW,EAAE,CAAC,CAAC,yBAAyB,CAAC;AACzC,YAAA,OAAO,EAAE,CAAC,CAAC,qBAAqB,CAAC;AACjC,YAAA,OAAO,EAAE,CAAC,CAAC,qBAAqB,CAAC;AACjC,YAAA,IAAI,EAAE,CAAC,CAAC,kBAAkB,CAAC;AAC3B,YAAA,KAAK,EAAE,CAAC,CAAC,mBAAmB,CAAC;AAC7B,YAAA,OAAO,EAAE,CAAC,CAAC,qBAAqB,CAAC;AAClC,SAAA;AACD,QAAA,IAAI,EAAE;AACJ,YAAA,EAAE,EAAE,CAAC,CAAC,gBAAgB,CAAC;AACvB,YAAA,EAAE,EAAE,CAAC,CAAC,gBAAgB,CAAC;AACvB,YAAA,EAAE,EAAE,CAAC,CAAC,gBAAgB,CAAC;AACxB,SAAA;QACD,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,kBAAkB,CAAC,EAAE;QACrC,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,mBAAmB,CAAC,EAAE;AACxC,KAAA;AACD,IAAA,eAAe,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;AAC3E,CAAA;;"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
.status-dot-module_status-dot__MoSd6 {
|
|
2
|
+
background-color: var(--dot-color);
|
|
3
|
+
border-radius: 50%;
|
|
4
|
+
display: inline-block;
|
|
5
|
+
flex-shrink: 0;
|
|
6
|
+
height: var(--dot-size);
|
|
7
|
+
width: var(--dot-size);
|
|
8
|
+
}
|
|
9
|
+
.status-dot-module_status-dot--primary__DoTcY {
|
|
10
|
+
--dot-color: var(--primary-main);
|
|
11
|
+
}
|
|
12
|
+
.status-dot-module_status-dot--secondary__pnRMx {
|
|
13
|
+
--dot-color: var(--secondary-main);
|
|
14
|
+
}
|
|
15
|
+
.status-dot-module_status-dot--destructive__z-jPU {
|
|
16
|
+
--dot-color: var(--destructive-main);
|
|
17
|
+
}
|
|
18
|
+
.status-dot-module_status-dot--warning__ZFtBS {
|
|
19
|
+
--dot-color: var(--warning-main);
|
|
20
|
+
}
|
|
21
|
+
.status-dot-module_status-dot--success__cYB5i {
|
|
22
|
+
--dot-color: var(--success-main);
|
|
23
|
+
}
|
|
24
|
+
.status-dot-module_status-dot--info__sAXNn {
|
|
25
|
+
--dot-color: var(--info-main);
|
|
26
|
+
}
|
|
27
|
+
.status-dot-module_status-dot--slate__bapda {
|
|
28
|
+
--dot-color: var(--slate-main);
|
|
29
|
+
}
|
|
30
|
+
.status-dot-module_status-dot--inherit__6o2O9 {
|
|
31
|
+
--dot-color: currentColor;
|
|
32
|
+
}
|
|
33
|
+
.status-dot-module_status-dot--sm__lPs5V {
|
|
34
|
+
--dot-size: 5px;
|
|
35
|
+
}
|
|
36
|
+
.status-dot-module_status-dot--md__CELtX {
|
|
37
|
+
--dot-size: 6px;
|
|
38
|
+
}
|
|
39
|
+
.status-dot-module_status-dot--lg__7M2z0 {
|
|
40
|
+
--dot-size: 9px;
|
|
41
|
+
}
|
|
42
|
+
.status-dot-module_status-dot--glow__Tbf-5 {
|
|
43
|
+
box-shadow: 0 0 8px var(--dot-color);
|
|
44
|
+
}
|
|
45
|
+
.status-dot-module_status-dot--pulse__Vw5aP {
|
|
46
|
+
animation: status-dot-module_status-dot-pulse__zH12Y 1.5s ease-in-out infinite;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@keyframes status-dot-module_status-dot-pulse__zH12Y {
|
|
50
|
+
0%, 100% {
|
|
51
|
+
opacity: 1;
|
|
52
|
+
}
|
|
53
|
+
50% {
|
|
54
|
+
opacity: 0.35;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
@media (prefers-reduced-motion: reduce) {
|
|
58
|
+
.status-dot-module_status-dot--pulse__Vw5aP {
|
|
59
|
+
animation: none;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { statusDotVariants } from './status-dot-variants';
|
|
4
|
+
export interface StatusDotProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'>, VariantProps<typeof statusDotVariants> {
|
|
5
|
+
/** A colour outside the theme scale. */
|
|
6
|
+
color?: string;
|
|
7
|
+
/** Accessible name. Omit only when adjacent text already says the state. */
|
|
8
|
+
label?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The dot that says what state a connection or process is in.
|
|
12
|
+
*
|
|
13
|
+
* Deliberately not a `Chip`: a chip is a bordered object that holds a word,
|
|
14
|
+
* where this is a single mark that usually sits *beside* one. Pairing it with
|
|
15
|
+
* text is the caller's job, which keeps the wording — and its translation —
|
|
16
|
+
* out of here.
|
|
17
|
+
*
|
|
18
|
+
* `glow` is for the state worth catching in peripheral vision (a save landing);
|
|
19
|
+
* `pulse` for one that is still in flight.
|
|
20
|
+
*/
|
|
21
|
+
declare const StatusDot: React.ForwardRefExoticComponent<StatusDotProps & React.RefAttributes<HTMLSpanElement>>;
|
|
22
|
+
export { StatusDot };
|
|
23
|
+
//# sourceMappingURL=status-dot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-dot.d.ts","sourceRoot":"","sources":["../../../src/ui/StatusDot/status-dot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,MAAM,WAAW,cACf,SACE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC,EACpD,YAAY,CAAC,OAAO,iBAAiB,CAAC;IACxC,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;GAUG;AACH,QAAA,MAAM,SAAS,wFAed,CAAC;AAGF,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import cn from 'clsx';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { statusDotVariants } from './status-dot-variants.js';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The dot that says what state a connection or process is in.
|
|
8
|
+
*
|
|
9
|
+
* Deliberately not a `Chip`: a chip is a bordered object that holds a word,
|
|
10
|
+
* where this is a single mark that usually sits *beside* one. Pairing it with
|
|
11
|
+
* text is the caller's job, which keeps the wording — and its translation —
|
|
12
|
+
* out of here.
|
|
13
|
+
*
|
|
14
|
+
* `glow` is for the state worth catching in peripheral vision (a save landing);
|
|
15
|
+
* `pulse` for one that is still in flight.
|
|
16
|
+
*/
|
|
17
|
+
const StatusDot = React.forwardRef(({ className, theme, size, glow, pulse, color, label, style, ...props }, ref) => {
|
|
18
|
+
return (jsx("span", { "data-slot": 'status-dot', ref: ref, role: label ? 'img' : undefined, "aria-label": label, "aria-hidden": label ? undefined : true, className: cn(statusDotVariants({ theme, size, glow, pulse }), className), style: color ? { ...style, '--dot-color': color } : style, ...props }));
|
|
19
|
+
});
|
|
20
|
+
StatusDot.displayName = 'StatusDot';
|
|
21
|
+
|
|
22
|
+
export { StatusDot };
|
|
23
|
+
//# sourceMappingURL=status-dot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-dot.js","sources":["../../../src/ui/StatusDot/status-dot.tsx"],"sourcesContent":["import { type VariantProps } from 'class-variance-authority';\nimport cn from 'clsx';\nimport * as React from 'react';\nimport { statusDotVariants } from './status-dot-variants';\n\nexport interface StatusDotProps\n extends\n Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'>,\n VariantProps<typeof statusDotVariants> {\n /** A colour outside the theme scale. */\n color?: string;\n /** Accessible name. Omit only when adjacent text already says the state. */\n label?: string;\n}\n\n/**\n * The dot that says what state a connection or process is in.\n *\n * Deliberately not a `Chip`: a chip is a bordered object that holds a word,\n * where this is a single mark that usually sits *beside* one. Pairing it with\n * text is the caller's job, which keeps the wording — and its translation —\n * out of here.\n *\n * `glow` is for the state worth catching in peripheral vision (a save landing);\n * `pulse` for one that is still in flight.\n */\nconst StatusDot = React.forwardRef<HTMLSpanElement, StatusDotProps>(\n ({ className, theme, size, glow, pulse, color, label, style, ...props }, ref) => {\n return (\n <span\n data-slot={'status-dot'}\n ref={ref}\n role={label ? 'img' : undefined}\n aria-label={label}\n aria-hidden={label ? undefined : true}\n className={cn(statusDotVariants({ theme, size, glow, pulse }), className)}\n style={color ? ({ ...style, '--dot-color': color } as React.CSSProperties) : style}\n {...props}\n />\n );\n },\n);\nStatusDot.displayName = 'StatusDot';\n\nexport { StatusDot };\n"],"names":["_jsx"],"mappings":";;;;;AAeA;;;;;;;;;;AAUG;AACH,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,CAChC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,KAAI;AAC9E,IAAA,QACEA,GAAA,CAAA,MAAA,EAAA,EAAA,WAAA,EACa,YAAY,EACvB,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,KAAK,GAAG,KAAK,GAAG,SAAS,gBACnB,KAAK,EAAA,aAAA,EACJ,KAAK,GAAG,SAAS,GAAG,IAAI,EACrC,SAAS,EAAE,EAAE,CAAC,iBAAiB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE,SAAS,CAAC,EACzE,KAAK,EAAE,KAAK,GAAI,EAAE,GAAG,KAAK,EAAE,aAAa,EAAE,KAAK,EAA0B,GAAG,KAAK,EAAA,GAC9E,KAAK,EAAA,CACT;AAEN,CAAC;AAEH,SAAS,CAAC,WAAW,GAAG,WAAW;;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import './status-dot.css';
|
|
2
|
+
|
|
3
|
+
var s = {"status-dot":"status-dot-module_status-dot__MoSd6","status-dot--primary":"status-dot-module_status-dot--primary__DoTcY","status-dot--secondary":"status-dot-module_status-dot--secondary__pnRMx","status-dot--destructive":"status-dot-module_status-dot--destructive__z-jPU","status-dot--warning":"status-dot-module_status-dot--warning__ZFtBS","status-dot--success":"status-dot-module_status-dot--success__cYB5i","status-dot--info":"status-dot-module_status-dot--info__sAXNn","status-dot--slate":"status-dot-module_status-dot--slate__bapda","status-dot--inherit":"status-dot-module_status-dot--inherit__6o2O9","status-dot--sm":"status-dot-module_status-dot--sm__lPs5V","status-dot--md":"status-dot-module_status-dot--md__CELtX","status-dot--lg":"status-dot-module_status-dot--lg__7M2z0","status-dot--glow":"status-dot-module_status-dot--glow__Tbf-5","status-dot--pulse":"status-dot-module_status-dot--pulse__Vw5aP"};
|
|
4
|
+
|
|
5
|
+
export { s as default };
|
|
6
|
+
//# sourceMappingURL=status-dot.module.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status-dot.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/ui/index.d.ts
CHANGED
package/dist/ui/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC"}
|
package/dist/ui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as Alert, b as AlertBanner, c as AlertBannerProps, d as AlertDescription, f as AlertProps, g as AlertProvider, i as AlertTitle, j as Avatar, k as AvatarFallback, l as AvatarFallbackProps, m as AvatarImage, n as AvatarImageProps, o as AvatarProps, C as Chip, p as ChipProps, q as CodeBlock, r as CodeBlockProps, D as DevIndicator, s as DevIndicatorProps, t as Dialog, u as DialogClose, v as DialogCloseProps, w as DialogContent, x as DialogContentProps, y as DialogDescription, z as DialogFooter, B as DialogHeader, E as DialogOverlay, F as DialogPortal, G as DialogProps, H as DialogTitle, I as DialogTrigger, J as DialogTriggerProps, K as EmptyState, L as EmptyStateProps, M as Icon, N as IconProps, O as List, P as ListItem, Q as ListItemProps, R as ListProps, T as Pagination, V as ProgressBar, W as ProgressBarProps, Y as Separator, Z as SeparatorProps, a0 as StatCard, a1 as StatCardDirection, a2 as StatCardProps, a3 as StatCardSize, a4 as StatCardTheme, a5 as StatCardVariant, a6 as
|
|
2
|
-
export { B as Button, a as ButtonProps, T as Tooltip, b as TooltipContent, c as TooltipContentProps, d as TooltipProps, e as TooltipProvider, f as TooltipTrigger, g as TooltipTriggerProps } from './tooltip-
|
|
1
|
+
export { a as Alert, b as AlertBanner, c as AlertBannerProps, d as AlertDescription, f as AlertProps, g as AlertProvider, i as AlertTitle, j as Avatar, k as AvatarFallback, l as AvatarFallbackProps, m as AvatarImage, n as AvatarImageProps, o as AvatarProps, C as Chip, p as ChipProps, q as CodeBlock, r as CodeBlockProps, D as DevIndicator, s as DevIndicatorProps, t as Dialog, u as DialogClose, v as DialogCloseProps, w as DialogContent, x as DialogContentProps, y as DialogDescription, z as DialogFooter, B as DialogHeader, E as DialogOverlay, F as DialogPortal, G as DialogProps, H as DialogTitle, I as DialogTrigger, J as DialogTriggerProps, K as EmptyState, L as EmptyStateProps, M as Icon, N as IconProps, O as List, P as ListItem, Q as ListItemProps, R as ListProps, T as Pagination, V as ProgressBar, W as ProgressBarProps, Y as Separator, Z as SeparatorProps, a0 as StatCard, a1 as StatCardDirection, a2 as StatCardProps, a3 as StatCardSize, a4 as StatCardTheme, a5 as StatCardVariant, a6 as StatusDot, a7 as StatusDotProps, a8 as Step, a9 as StepProgress, aa as StepProgressProps, ab as Switch, ac as SwitchProps, ad as Table, ae as TableActionCell, af as TableActionCellProps, ag as TableActionItem, ah as TableBody, ai as TableBodyProps, aj as TableCard, ak as TableCell, al as TableFooter, am as TableHead, an as TableHeader, ao as TableRow, ap as TableSortableHeader, aq as TableSortableHeaderProps, ar as TableToolbar, as as TableToolbarProps, at as Toggle, au as ToggleGroup, av as ToggleGroupProps, aw as ToggleProps, ax as TrendDirection, ay as persistAlert, az as statusDotVariants } from './index-DCtv8Gm1.js';
|
|
2
|
+
export { B as Button, a as ButtonProps, T as Tooltip, b as TooltipContent, c as TooltipContentProps, d as TooltipProps, e as TooltipProvider, f as TooltipTrigger, g as TooltipTriggerProps } from './tooltip-C25-bG7o.js';
|
|
3
3
|
import 'class-variance-authority';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'class-variance-authority/types';
|
package/dist/ui.js
CHANGED
|
@@ -14,6 +14,8 @@ export { Pagination } from './ui/Pagination/pagination.js';
|
|
|
14
14
|
export { ProgressBar } from './ui/ProgressBar/progress-bar.js';
|
|
15
15
|
export { Separator } from './ui/Separator/separator.js';
|
|
16
16
|
export { StatCard } from './ui/StatCard/stat-card.js';
|
|
17
|
+
export { StatusDot } from './ui/StatusDot/status-dot.js';
|
|
18
|
+
export { statusDotVariants } from './ui/StatusDot/status-dot-variants.js';
|
|
17
19
|
export { StepProgress } from './ui/StepProgress/step-progress.js';
|
|
18
20
|
export { Switch } from './ui/Switch/switch.js';
|
|
19
21
|
export { Table, TableBody, TableCard, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSortableHeader } from './ui/Table/table.js';
|
package/dist/ui.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kismet-ux/constellation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -86,6 +86,10 @@
|
|
|
86
86
|
"import": "./dist/index.css",
|
|
87
87
|
"default": "./dist/index.css"
|
|
88
88
|
},
|
|
89
|
+
"./styles/tokens": {
|
|
90
|
+
"import": "./dist/tokens.css",
|
|
91
|
+
"default": "./dist/tokens.css"
|
|
92
|
+
},
|
|
89
93
|
"./styles/mixins": {
|
|
90
94
|
"import": "./src/styles/mixins.scss",
|
|
91
95
|
"default": "./src/styles/mixins.scss"
|