@scattered-light/loomiere-mojave 0.24.1 → 0.41.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.
Files changed (48) hide show
  1. package/dist/exports/AGENTS.md +1 -1
  2. package/dist/exports/base-ui.css +5574 -0
  3. package/dist/exports/base-ui.md +535 -0
  4. package/dist/exports/catalog.json +34 -0
  5. package/dist/exports/design-system/README.md +1 -1
  6. package/dist/exports/design-system/components/Badge/README.md +2 -1
  7. package/dist/exports/design-system/components/Badge/preview.html +457 -1
  8. package/dist/exports/design-system/components/ChecklistNotice/README.md +53 -0
  9. package/dist/exports/design-system/components/ChecklistNotice/preview.html +475 -0
  10. package/dist/exports/design-system/components/ChipPicker/README.md +43 -0
  11. package/dist/exports/design-system/components/ChipPicker/preview.html +475 -0
  12. package/dist/exports/design-system/components/DataTable/README.md +9 -2
  13. package/dist/exports/design-system/components/DataTable/preview.html +202 -202
  14. package/dist/exports/design-system/components/EmptyState/README.md +17 -3
  15. package/dist/exports/design-system/components/EmptyState/preview.html +170 -170
  16. package/dist/exports/design-system/components/FileDropZone/README.md +38 -0
  17. package/dist/exports/design-system/components/FileDropZone/preview.html +19 -0
  18. package/dist/exports/design-system/components/LineItemGrid/README.md +53 -0
  19. package/dist/exports/design-system/components/LineItemGrid/preview.html +475 -0
  20. package/dist/exports/design-system/components/MultiSelect/README.md +8 -2
  21. package/dist/exports/design-system/components/MultiSelect/preview.html +2 -2
  22. package/dist/exports/design-system/components/Notice/README.md +6 -2
  23. package/dist/exports/design-system/components/Notice/preview.html +2 -2
  24. package/dist/exports/design-system/components/ParameterBar/README.md +68 -0
  25. package/dist/exports/design-system/components/ParameterBar/preview.html +475 -0
  26. package/dist/exports/design-system/components/RadioCard/README.md +43 -0
  27. package/dist/exports/design-system/components/RadioCard/preview.html +19 -0
  28. package/dist/exports/design-system/components/Shortcuts/README.md +80 -0
  29. package/dist/exports/design-system/components/Shortcuts/preview.html +19 -0
  30. package/dist/exports/design-system/components/SourcePreview/README.md +45 -0
  31. package/dist/exports/design-system/components/SourcePreview/preview.html +19 -0
  32. package/dist/exports/design-system/components/SplitButton/README.md +2 -1
  33. package/dist/exports/design-system/components/SplitButton/preview.html +2 -2
  34. package/dist/exports/design-system/components/StatBand/README.md +34 -0
  35. package/dist/exports/design-system/components/StatBand/preview.html +475 -0
  36. package/dist/exports/design-system/components/Stepper/README.md +34 -0
  37. package/dist/exports/design-system/components/Stepper/preview.html +19 -0
  38. package/dist/exports/design-system/components/SummaryStrip/README.md +36 -0
  39. package/dist/exports/design-system/components/SummaryStrip/preview.html +19 -0
  40. package/dist/exports/design-system/components/Table/README.md +2 -1
  41. package/dist/exports/design-system/components/Tabs/README.md +2 -1
  42. package/dist/exports/design-system/components/Tabs/preview.html +1 -1
  43. package/dist/exports/design-system/components/Text/README.md +29 -0
  44. package/dist/exports/design-system/components/Text/preview.html +19 -0
  45. package/dist/exports/design-system/components/bundle.css +2851 -433
  46. package/dist/exports/design-system/components/bundle.js +7 -7
  47. package/dist/exports/design-system/components/index.d.ts +7 -24
  48. package/package.json +2 -2
@@ -1,14 +1,14 @@
1
1
  import * as React from 'react';
2
2
  import * as _base_ui_react from '@base-ui/react';
3
3
  export { D as DataAttributes, P as PassthroughProps } from './data-attributes-BulvB5Zp.js';
4
- import { Button as Button$1 } from '@base-ui/react/button';
4
+ import { B as ButtonPartProps } from './index-Qmg42_vh.js';
5
+ export { A as AppBar, a as AppBarProps, b as AppBarSpacer, c as AppBarSpacerProps, d as Badge, e as BadgeProps, f as Button, g as ButtonProps, C as Calendar, h as CalendarProps, i as ChecklistNotice, j as ChecklistNoticeItem, k as ChecklistNoticeProps, l as ChipPicker, m as ChipPickerChoice, n as ChipPickerGroup, o as ChipPickerOption, p as ChipPickerProps, q as Chord, r as CommandPalette, s as CommandPaletteItem, t as CommandPaletteProps, u as CurrencyCode, D as DatePicker, v as DatePickerProps, w as DatePresets, x as DatePresetsProps, y as DateRange, z as DateValue, E as DescriptionItem, F as DescriptionItemProps, G as DescriptionList, H as DescriptionListProps, I as EditableList, J as EditableListApi, K as EditableListRootProps, L as EmptyState, M as EmptyStateKind, N as EmptyStateLayout, O as EmptyStateProps, P as EmptyStateTerm, Q as FileDropZone, R as FileDropZoneProps, S as FormGrid, T as FormGridItem, U as FormGridItemProps, V as FormGridProps, W as Kbd, X as KbdProps, Y as LineItemGrid, Z as LineItemGridColumn, _ as LineItemGridFooterRow, $ as LineItemGridProps, a0 as ListDetail, a1 as ListDetailCloseReason, a2 as ListDetailDetailProps, a3 as ListDetailLayout, a4 as ListDetailRootProps, a5 as ListDetailValue, a6 as MoneyField, a7 as MoneyFieldProps, a8 as MoneyFieldRootProps, a9 as MultiSelect, aa as MultiSelectOption, ab as MultiSelectProps, ac as Notice, ad as NoticeProps, ae as NumberField, af as NumberFieldLabelProps, ag as ParameterBar, ah as ParameterBarLocked, ai as ParameterBarLockedProps, aj as ParameterBarProps, ak as PickerButton, al as PickerButtonProps, am as PickerSplit, an as PickerSplitMain, ao as PickerSplitMainProps, ap as PickerSplitProps, aq as PickerSplitTrigger, ar as PickerSplitTriggerProps, as as Platform, at as Preset, au as PresetValue, av as RadioCard, aw as RadioCardGroup, ax as RadioCardGroupProps, ay as RadioCardProps, az as RegisteredShortcut, aA as Sheet, aB as SheetProps, aC as ShortcutDefinition, aD as ShortcutProvider, aE as ShortcutProviderProps, aF as ShortcutSettings, aG as SideNav, aH as SideNavGroup, aI as SideNavGroupProps, aJ as SideNavItem, aK as SideNavItemProps, aL as SideNavProps, aM as SideNavToggle, aN as SideNavToggleProps, aO as SourcePreview, aP as SourcePreviewColumn, aQ as SourcePreviewFormulaCell, aR as SourcePreviewProps, aS as SourcePreviewRow, aT as Spinner, aU as SpinnerProps, aV as SplitButton, aW as SplitButtonItem, aX as SplitButtonProps, aY as Splitter, aZ as SplitterHandleProps, a_ as SplitterPanelProps, a$ as SplitterRootProps, b0 as StatBand, b1 as StatBandItem, b2 as StatBandProps, b3 as StatCard, b4 as StatCardFact, b5 as StatCardProps, b6 as StatFigure, b7 as StatFigureProps, b8 as Stepper, b9 as StepperProps, ba as StepperStep, bb as SummaryStrip, bc as SummaryStripItem, bd as SummaryStripProps, be as Text, bf as TextProps, bg as addDays, bh as addMonths, bi as ariaKeyShortcuts, bj as builtinPresets, bk as chordLabels, bl as clampDate, bm as daysInMonth, bn as defaultPresets, bo as defaultWeekStartsOn, bp as detectPlatform, bq as endOfWeek, br as formatMoney, bs as fromMinorUnits, bt as getCurrencyDigits, bu as inclusiveDays, bv as isSingleKeyShortcut, bw as isTypingTarget, bx as isValidCurrency, by as isoWeek, bz as last30Days, bA as last7Days, bB as lastMonth, bC as lastWeek, bD as lengthBlockReason, bE as matchesChord, bF as multiSelectSummary, bG as nextMonth, bH as nextWeek, bI as orderRange, bJ as parseDecimalString, bK as parseShortcut, bL as resolvePreset, bM as spokenShortcut, bN as startOfWeek, bO as thisMonth, bP as thisQuarter, bQ as thisWeek, bR as toDecimalString, bS as toMinorUnits, bT as today, bU as todayDate, bV as tomorrow, bW as useListDetail, bX as usePlatform, bY as useRegisteredShortcuts, bZ as useShortcut, b_ as useShortcutSettings, b$ as useShortcuts, c0 as yearToDate, c1 as yesterday } from './index-Qmg42_vh.js';
5
6
  import { Input as Input$1 } from '@base-ui/react/input';
6
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
8
  import { Fieldset as Fieldset$1 } from '@base-ui/react/fieldset';
8
9
  import { Form as Form$1 } from '@base-ui/react/form';
9
10
  import { NavigationMenu as NavigationMenu$1 } from '@base-ui/react/navigation-menu';
10
11
  import { Select as Select$1 } from '@base-ui/react/select';
11
- export { A as AppBar, a as AppBarProps, b as AppBarSpacer, c as AppBarSpacerProps, B as Badge, d as BadgeProps, C as Calendar, e as CalendarProps, f as CurrencyCode, D as DatePicker, g as DatePickerProps, h as DatePresets, i as DatePresetsProps, j as DateRange, k as DateValue, l as DescriptionItem, m as DescriptionItemProps, n as DescriptionList, o as DescriptionListProps, E as EditableList, p as EditableListApi, q as EditableListRootProps, r as EmptyState, s as EmptyStateKind, t as EmptyStateProps, F as FormGrid, u as FormGridItem, v as FormGridItemProps, w as FormGridProps, L as ListDetail, x as ListDetailCloseReason, y as ListDetailDetailProps, z as ListDetailLayout, G as ListDetailRootProps, H as ListDetailValue, M as MoneyField, I as MoneyFieldProps, J as MoneyFieldRootProps, K as MultiSelect, N as MultiSelectOption, O as MultiSelectProps, P as Notice, Q as NoticeProps, R as NumberField, S as NumberFieldLabelProps, T as PickerButton, U as PickerButtonProps, V as PickerSplit, W as PickerSplitMain, X as PickerSplitMainProps, Y as PickerSplitProps, Z as PickerSplitTrigger, _ as PickerSplitTriggerProps, $ as Preset, a0 as PresetValue, a1 as Sheet, a2 as SheetProps, a3 as SideNav, a4 as SideNavGroup, a5 as SideNavGroupProps, a6 as SideNavItem, a7 as SideNavItemProps, a8 as SideNavProps, a9 as SideNavToggle, aa as SideNavToggleProps, ab as Spinner, ac as SpinnerProps, ad as SplitButton, ae as SplitButtonItem, af as SplitButtonProps, ag as Splitter, ah as SplitterHandleProps, ai as SplitterPanelProps, aj as SplitterRootProps, ak as StatCard, al as StatCardFact, am as StatCardProps, an as StatFigure, ao as StatFigureProps, ap as addDays, aq as addMonths, ar as builtinPresets, as as clampDate, at as daysInMonth, au as defaultPresets, av as defaultWeekStartsOn, aw as endOfWeek, ax as formatMoney, ay as fromMinorUnits, az as getCurrencyDigits, aA as inclusiveDays, aB as isValidCurrency, aC as isoWeek, aD as last30Days, aE as last7Days, aF as lastMonth, aG as lastWeek, aH as lengthBlockReason, aI as multiSelectSummary, aJ as nextMonth, aK as nextWeek, aL as orderRange, aM as parseDecimalString, aN as resolvePreset, aO as startOfWeek, aP as thisMonth, aQ as thisQuarter, aR as thisWeek, aS as toDecimalString, aT as toMinorUnits, aU as today, aV as todayDate, aW as tomorrow, aX as useListDetail, aY as yearToDate, aZ as yesterday } from './index-DB5X1Bay.js';
12
12
  import * as _base_ui_react_internals_filter from '@base-ui/react/internals/filter';
13
13
  import { AutocompleteRootProps, Autocomplete as Autocomplete$1 } from '@base-ui/react/autocomplete';
14
14
  import { ComboboxRootProps, Combobox as Combobox$1 } from '@base-ui/react/combobox';
@@ -28,6 +28,7 @@ import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
28
28
  import { Drawer as Drawer$1 } from '@base-ui/react/drawer';
29
29
  import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
30
30
  import { Toast as Toast$1 } from '@base-ui/react/toast';
31
+ import '@base-ui/react/button';
31
32
  import '@base-ui/react/number-field';
32
33
 
33
34
  /**
@@ -51,26 +52,6 @@ declare function cn(...inputs: ClassValue[]): string;
51
52
  /** Merge a static BEM block with Base UI `className` (string or state callback). */
52
53
  declare function cnState<State>(base: string, className: string | ((state: State) => string | undefined) | undefined, state: State): string;
53
54
 
54
- /** The props every button-like part takes, the same as {@link Button}'s. */
55
- type ButtonPartProps = {
56
- /**
57
- * How loud the button is. The brand's roles decide what each level looks like.
58
- * "link" draws it as inline link text (accent, underlined, no box) for an action that reads
59
- * as a link, such as "Forgot your password?". It is still a button: use an <a> for navigation.
60
- */
61
- emphasis?: 'bold' | 'standard' | 'subtle' | 'quiet' | 'link';
62
- /** Paint the level in another palette instead of the level's own color (e.g. "secondary", "error"). */
63
- palette?: string;
64
- };
65
-
66
- type ButtonProps = React.ComponentProps<typeof Button$1> & ButtonPartProps;
67
- /**
68
- * Base UI [Button](https://base-ui.com/react/components/button) with design-system `Button` classes.
69
- * A button holding only an icon gets `data-icon-only` and is drawn square (a circle, with the pill
70
- * corners). Icon-only buttons must include a label for assistive tech (`aria-label` or `aria-labelledby`).
71
- */
72
- declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
73
-
74
55
  type InputProps = React.ComponentProps<typeof Input$1>;
75
56
  /**
76
57
  * Base UI [Input](https://base-ui.com/react/components/input) with design-system `Input` classes.
@@ -607,7 +588,8 @@ declare const Collapsible: {
607
588
 
608
589
  /**
609
590
  * Base UI [Tabs](https://base-ui.com/react/components/tabs) with design-system classes.
610
- * `data-size` and `data-orientation` go on the root.
591
+ * `data-size` and `data-orientation` go on the root. `data-variant="sheet"` on the List draws the tabs of a
592
+ * working paper: the selected tab is filled in the Sheet tab colors and the list keeps the sheet's heavy rule.
611
593
  */
612
594
  declare const Tabs: {
613
595
  Root: React.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.TabsRootProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -615,6 +597,7 @@ declare const Tabs: {
615
597
  Tab: React.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.TabsTabProps, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
616
598
  Panel: React.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.TabsPanelProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
617
599
  Indicator: React.ForwardRefExoticComponent<Omit<_base_ui_react.TabsIndicatorProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
600
+ Count: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
618
601
  };
619
602
 
620
603
  type SwitchContainerProps = React.ComponentProps<'div'>;
@@ -708,4 +691,4 @@ type FieldControlProps = React.ComponentProps<typeof Field.Control>;
708
691
  type FieldValidityProps = React.ComponentProps<typeof Field.Validity>;
709
692
  type FieldItemProps = React.ComponentProps<typeof Field.Item>;
710
693
 
711
- export { Accordion, AccordionContent, type AccordionContentProps, AlertDialog, AlertDialogActions, type AlertDialogActionsProps, Autocomplete, Avatar, AvatarGroup, type AvatarGroupProps, Button, type ButtonProps, Checkbox, CheckboxGroup, CheckboxLabel, type CheckboxLabelProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, Combobox, ContextMenu, Dialog, DialogActions, type DialogActionsProps, DialogContent, type DialogContentProps, Drawer, Field, type FieldControlProps, type FieldDescriptionProps, type FieldErrorProps, type FieldItemProps, type FieldLabelProps, type FieldRootProps, type FieldValidityProps, Fieldset, FieldsetDescription, type FieldsetDescriptionProps, type FieldsetLegendProps, type FieldsetRootProps, Form, FormActions, type FormActionsProps, type FormProps, Input, type InputProps, Menu, Menubar, Meter, MeterHeader, type MeterHeaderProps, NavigationMenu, type NavigationMenuListProps, type NavigationMenuRootProps, OTPField, Popover, PreviewCard, PreviewCardContent, type PreviewCardContentProps, PreviewCardDescription, type PreviewCardDescriptionProps, PreviewCardImage, type PreviewCardImageProps, PreviewCardTitle, type PreviewCardTitleProps, Progress, ProgressHeader, type ProgressHeaderProps, Radio, RadioGroup, RadioLabel, type RadioLabelProps, RadioRow, type RadioRowProps, ScrollArea, Select, Separator, Slider, SliderHeader, type SliderHeaderProps, Switch, SwitchContainer, type SwitchContainerProps, SwitchLabel, type SwitchLabelProps, Tabs, Toast, Toggle, ToggleGroup, Toolbar, Tooltip, cn, cnState };
694
+ export { Accordion, AccordionContent, type AccordionContentProps, AlertDialog, AlertDialogActions, type AlertDialogActionsProps, Autocomplete, Avatar, AvatarGroup, type AvatarGroupProps, Checkbox, CheckboxGroup, CheckboxLabel, type CheckboxLabelProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, Combobox, ContextMenu, Dialog, DialogActions, type DialogActionsProps, DialogContent, type DialogContentProps, Drawer, Field, type FieldControlProps, type FieldDescriptionProps, type FieldErrorProps, type FieldItemProps, type FieldLabelProps, type FieldRootProps, type FieldValidityProps, Fieldset, FieldsetDescription, type FieldsetDescriptionProps, type FieldsetLegendProps, type FieldsetRootProps, Form, FormActions, type FormActionsProps, type FormProps, Input, type InputProps, Menu, Menubar, Meter, MeterHeader, type MeterHeaderProps, NavigationMenu, type NavigationMenuListProps, type NavigationMenuRootProps, OTPField, Popover, PreviewCard, PreviewCardContent, type PreviewCardContentProps, PreviewCardDescription, type PreviewCardDescriptionProps, PreviewCardImage, type PreviewCardImageProps, PreviewCardTitle, type PreviewCardTitleProps, Progress, ProgressHeader, type ProgressHeaderProps, Radio, RadioGroup, RadioLabel, type RadioLabelProps, RadioRow, type RadioRowProps, ScrollArea, Select, Separator, Slider, SliderHeader, type SliderHeaderProps, Switch, SwitchContainer, type SwitchContainerProps, SwitchLabel, type SwitchLabelProps, Tabs, Toast, Toggle, ToggleGroup, Toolbar, Tooltip, cn, cnState };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scattered-light/loomiere-mojave",
3
- "version": "0.24.1",
3
+ "version": "0.41.0",
4
4
  "description": "Mojave, the demo theme for Loomiere: desert stone and purple, built from one brand file.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -62,6 +62,6 @@
62
62
  }
63
63
  },
64
64
  "devDependencies": {
65
- "@scattered-light/loomiere": "0.24.1"
65
+ "@scattered-light/loomiere": "0.41.0"
66
66
  }
67
67
  }