@kismet-ux/constellation 1.1.0 → 1.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/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-CPpu2Wg4.d.ts} +2 -2
- package/dist/{index-BeCWb0Ix.d.ts → index-DMy7AzMN.d.ts} +68 -23
- package/dist/{index-DVEBz660.d.ts → index-YOC5H6Ls.d.ts} +2 -2
- 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/{tooltip-zOT3UHCF.d.ts → tooltip-DoCbTucr.d.ts} +3 -3
- 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 +1 -1
|
@@ -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-DMy7AzMN.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-DoCbTucr.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":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|