@scattered-light/loomiere-base-ui 0.14.1 → 0.15.1
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/README.md +13 -1
- package/dist/{chunk-HPUI5FIO.js → chunk-RLXKWWZG.js} +18 -3
- package/dist/chunk-RLXKWWZG.js.map +1 -0
- package/dist/custom/index.d.ts +1 -1
- package/dist/custom/index.js +1 -1
- package/dist/design-system/components/PickerButton/preview.html +1 -1
- package/dist/design-system/components/PickerSplit/README.md +18 -0
- package/dist/design-system/components/bundle.js +7 -7
- package/dist/design-system/components/index.d.ts +1 -1
- package/dist/design-system/components/styles.css +173 -60
- package/dist/{index-kV9TCCxP.d.ts → index-BlPgd6jW.d.ts} +26 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/styles/components/Accordion.css +1 -1
- package/dist/styles/components/AlertDialog.css +1 -1
- package/dist/styles/components/Autocomplete.css +1 -1
- package/dist/styles/components/Avatar.css +1 -1
- package/dist/styles/components/Button.css +1 -1
- package/dist/styles/components/Checkbox.css +1 -1
- package/dist/styles/components/CheckboxGroup.css +1 -1
- package/dist/styles/components/Collapsible.css +1 -1
- package/dist/styles/components/Combobox.css +1 -1
- package/dist/styles/components/ContextMenu.css +1 -1
- package/dist/styles/components/Dialog.css +1 -1
- package/dist/styles/components/Drawer.css +1 -1
- package/dist/styles/components/Field.css +1 -1
- package/dist/styles/components/Fieldset.css +1 -1
- package/dist/styles/components/Form.css +1 -1
- package/dist/styles/components/Input.css +1 -1
- package/dist/styles/components/Menu.css +1 -1
- package/dist/styles/components/Menubar.css +1 -1
- package/dist/styles/components/Meter.css +1 -1
- package/dist/styles/components/NavigationMenu.css +1 -1
- package/dist/styles/components/NumberField.css +1 -1
- package/dist/styles/components/OTPField.css +1 -1
- package/dist/styles/components/Popover.css +1 -1
- package/dist/styles/components/PreviewCard.css +1 -1
- package/dist/styles/components/Progress.css +1 -1
- package/dist/styles/components/Radio.css +1 -1
- package/dist/styles/components/ScrollArea.css +1 -1
- package/dist/styles/components/Select.css +1 -1
- package/dist/styles/components/Separator.css +1 -1
- package/dist/styles/components/Slider.css +1 -1
- package/dist/styles/components/Switch.css +1 -1
- package/dist/styles/components/Tabs.css +1 -1
- package/dist/styles/components/Toast.css +1 -1
- package/dist/styles/components/Toggle.css +1 -1
- package/dist/styles/components/ToggleGroup.css +1 -1
- package/dist/styles/components/Toolbar.css +1 -1
- package/dist/styles/components/Tooltip.css +1 -1
- package/dist/styles/custom/AppBar.css +1 -1
- package/dist/styles/custom/Badge.css +1 -1
- package/dist/styles/custom/Collection.css +1 -1
- package/dist/styles/custom/CollectionPagination.css +1 -1
- package/dist/styles/custom/CollectionToolbar.css +1 -1
- package/dist/styles/custom/DataList.css +1 -1
- package/dist/styles/custom/DataTable.css +1 -1
- package/dist/styles/custom/DatePicker.css +1 -1
- package/dist/styles/custom/DescriptionList.css +1 -1
- package/dist/styles/custom/EditableList.css +1 -1
- package/dist/styles/custom/EmptyState.css +1 -1
- package/dist/styles/custom/ListDetail.css +1 -1
- package/dist/styles/custom/MoneyField.css +1 -1
- package/dist/styles/custom/PickerButton.css +1 -1
- package/dist/styles/custom/PickerSplit.css +97 -0
- package/dist/styles/custom/Sheet.css +7 -1
- package/dist/styles/custom/SideNav.css +1 -1
- package/dist/styles/custom/Splitter.css +1 -1
- package/dist/styles/custom/StatFigure.css +1 -1
- package/dist/styles/custom/Table.css +10 -1
- package/dist/styles/index.css +2 -1
- package/dist/styles/reset/accessibility.css +1 -1
- package/dist/styles/reset/reset-accessibility.css +1 -1
- package/dist/styles/reset/reset-tailwind.css +1 -1
- package/dist/styles/reset/reset.css +1 -1
- package/dist/styles/tailwind.css +2 -1
- package/package.json +2 -2
- package/dist/chunk-HPUI5FIO.js.map +0 -1
|
@@ -816,6 +816,31 @@ type PickerButtonProps = Omit<React.ComponentProps<'button'>, 'value'> & {
|
|
|
816
816
|
*/
|
|
817
817
|
declare const PickerButton: React.ForwardRefExoticComponent<Omit<PickerButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
818
818
|
|
|
819
|
+
type PickerSplitProps = React.ComponentProps<'div'>;
|
|
820
|
+
/**
|
|
821
|
+
* Two controls in one field: a main part that does something (opens the chosen item) and a
|
|
822
|
+
* trigger part that opens the list of choices. Put it where a PickerButton goes when the
|
|
823
|
+
* choice itself is a link or action: `<PickerSplit><PickerSplitMain label="Client" value={name} onClick={open} />
|
|
824
|
+
* <PickerSplitTrigger aria-label="Choose client" /></PickerSplit>`.
|
|
825
|
+
*
|
|
826
|
+
* The root is the field (border, radius, hover), so a popup can anchor to the whole control:
|
|
827
|
+
* pass a ref to it. Wrap the trigger in a Menu, Popover or Select trigger with `render`.
|
|
828
|
+
*/
|
|
829
|
+
declare const PickerSplit: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
830
|
+
type PickerSplitMainProps = Omit<React.ComponentProps<'button'>, 'value'> & {
|
|
831
|
+
/** What the control picks, set in caps before the choice: "Client". */
|
|
832
|
+
label: React.ReactNode;
|
|
833
|
+
/** The current choice. Cut with an ellipsis when it is long. */
|
|
834
|
+
value?: React.ReactNode;
|
|
835
|
+
/** Shown in place of the value while nothing is chosen. */
|
|
836
|
+
placeholder?: React.ReactNode;
|
|
837
|
+
};
|
|
838
|
+
/** The main part: the caps label and the choice, as a button. Give it `render` or `onClick` to act on the choice. */
|
|
839
|
+
declare const PickerSplitMain: React.ForwardRefExoticComponent<Omit<PickerSplitMainProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
840
|
+
type PickerSplitTriggerProps = React.ComponentProps<'button'>;
|
|
841
|
+
/** The trigger part: a square button with a chevron that turns while its popup is open. Name it with aria-label. */
|
|
842
|
+
declare const PickerSplitTrigger: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
843
|
+
|
|
819
844
|
type SideNavProps = React.ComponentProps<'nav'> & {
|
|
820
845
|
/** Hides the rows and shows only the collapse button. The parent sets the column's width. */
|
|
821
846
|
collapsed?: boolean;
|
|
@@ -938,4 +963,4 @@ declare const EditableList: {
|
|
|
938
963
|
Balance: typeof EditableListBalance;
|
|
939
964
|
};
|
|
940
965
|
|
|
941
|
-
export { type
|
|
966
|
+
export { type SideNavProps as $, AppBar as A, Badge as B, Calendar as C, DatePicker as D, EditableList as E, type MoneyFieldRootProps as F, type NumberFieldLabelProps as G, type PickerButtonProps as H, PickerSplit as I, PickerSplitMain as J, type PickerSplitMainProps as K, ListDetail as L, MoneyField as M, NumberField as N, type PickerSplitProps as O, PickerButton as P, PickerSplitTrigger as Q, type PickerSplitTriggerProps as R, type Preset as S, type PresetValue as T, Sheet as U, type SheetProps as V, SideNav as W, SideNavGroup as X, type SideNavGroupProps as Y, SideNavItem as Z, type SideNavItemProps as _, type AppBarProps as a, SplitterHandle as a$, SideNavToggle as a0, type SideNavToggleProps as a1, Splitter as a2, type SplitterHandleProps as a3, type SplitterPanelProps as a4, type SplitterRootProps as a5, StatFigure as a6, type StatFigureProps as a7, addDays as a8, addMonths as a9, toDecimalString as aA, toMinorUnits as aB, today as aC, todayDate as aD, tomorrow as aE, useListDetail as aF, yearToDate as aG, yesterday as aH, CURRENCY_SEARCH_THRESHOLD as aI, CurrencySelect as aJ, type KeyOptions as aK, ListDetailDetail as aL, ListDetailList as aM, ListDetailRoot as aN, MAX_MINOR_UNITS as aO, type MoneyChangeDetails as aP, type MoneyDisplay as aQ, MoneyFieldAffix as aR, MoneyFieldGroup as aS, MoneyFieldInput as aT, MoneyFieldRoot as aU, type MoneyFieldSteps as aV, type NormalizedPaste as aW, type PanelSpec as aX, type RuntimePanel as aY, type Size as aZ, type SizeInput as a_, builtinPresets as aa, clampDate as ab, daysInMonth as ac, defaultPresets as ad, defaultWeekStartsOn as ae, endOfWeek as af, formatMoney as ag, fromMinorUnits as ah, getCurrencyDigits as ai, inclusiveDays as aj, isValidCurrency as ak, isoWeek as al, last30Days as am, last7Days as an, lastMonth as ao, lastWeek as ap, lengthBlockReason as aq, nextMonth as ar, nextWeek as as, orderRange as at, parseDecimalString as au, resolvePreset as av, startOfWeek as aw, thisMonth as ax, thisQuarter as ay, thisWeek as az, AppBarSpacer as b, type SplitterKey as b0, SplitterPanel as b1, SplitterRoot as b2, type StoredLayout as b3, type StoredPanel as b4, affixSide as b5, applyKey as b6, applyStored as b7, ariaPercents as b8, createPanels as b9, cssSize as ba, currencyName as bb, currencySymbol as bc, formatDay as bd, formatFull as be, handleTarget as bf, layoutOf as bg, measure as bh, monthCells as bi, moveFocusDate as bj, normalizePaste as bk, parseDate as bl, parseSize as bm, presetInBounds as bn, resetToDefault as bo, resizeByDelta as bp, roundHalfExpand as bq, roundingChangesValue as br, sameSelection as bs, serializeSize as bt, settle as bu, sizeText as bv, syncPanels as bw, toggleCollapsed as bx, valueText as by, type AppBarSpacerProps as c, type BadgeProps as d, type CalendarProps as e, type CurrencyCode as f, type DatePickerProps as g, DatePresets as h, type DatePresetsProps as i, type DateRange as j, type DateValue as k, DescriptionItem as l, type DescriptionItemProps as m, DescriptionList as n, type DescriptionListProps as o, type EditableListApi as p, type EditableListRootProps as q, EmptyState as r, type EmptyStateKind as s, type EmptyStateProps as t, type ListDetailCloseReason as u, type ListDetailDetailProps as v, type ListDetailLayout as w, type ListDetailRootProps as x, type ListDetailValue as y, type MoneyFieldProps as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { Fieldset as Fieldset$1 } from '@base-ui/react/fieldset';
|
|
|
7
7
|
import { Form as Form$1 } from '@base-ui/react/form';
|
|
8
8
|
import { NavigationMenu as NavigationMenu$1 } from '@base-ui/react/navigation-menu';
|
|
9
9
|
import { Select as Select$1 } from '@base-ui/react/select';
|
|
10
|
-
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, L as ListDetail, u as ListDetailCloseReason, v as ListDetailDetailProps, w as ListDetailLayout, x as ListDetailRootProps, y as ListDetailValue, M as MoneyField, z as MoneyFieldProps, F as MoneyFieldRootProps, N as NumberField, G as NumberFieldLabelProps, P as PickerButton, H as PickerButtonProps, I as
|
|
10
|
+
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, L as ListDetail, u as ListDetailCloseReason, v as ListDetailDetailProps, w as ListDetailLayout, x as ListDetailRootProps, y as ListDetailValue, M as MoneyField, z as MoneyFieldProps, F as MoneyFieldRootProps, N as NumberField, G as NumberFieldLabelProps, P as PickerButton, H as PickerButtonProps, I as PickerSplit, J as PickerSplitMain, K as PickerSplitMainProps, O as PickerSplitProps, Q as PickerSplitTrigger, R as PickerSplitTriggerProps, S as Preset, T as PresetValue, U as Sheet, V as SheetProps, W as SideNav, X as SideNavGroup, Y as SideNavGroupProps, Z as SideNavItem, _ as SideNavItemProps, $ as SideNavProps, a0 as SideNavToggle, a1 as SideNavToggleProps, a2 as Splitter, a3 as SplitterHandleProps, a4 as SplitterPanelProps, a5 as SplitterRootProps, a6 as StatFigure, a7 as StatFigureProps, a8 as addDays, a9 as addMonths, aa as builtinPresets, ab as clampDate, ac as daysInMonth, ad as defaultPresets, ae as defaultWeekStartsOn, af as endOfWeek, ag as formatMoney, ah as fromMinorUnits, ai as getCurrencyDigits, aj as inclusiveDays, ak as isValidCurrency, al as isoWeek, am as last30Days, an as last7Days, ao as lastMonth, ap as lastWeek, aq as lengthBlockReason, ar as nextMonth, as as nextWeek, at as orderRange, au as parseDecimalString, av as resolvePreset, aw as startOfWeek, ax as thisMonth, ay as thisQuarter, az as thisWeek, aA as toDecimalString, aB as toMinorUnits, aC as today, aD as todayDate, aE as tomorrow, aF as useListDetail, aG as yearToDate, aH as yesterday } from './index-BlPgd6jW.js';
|
|
11
11
|
import * as _base_ui_react_internals_filter from '@base-ui/react/internals/filter';
|
|
12
12
|
import { AutocompleteRootProps, Autocomplete as Autocomplete$1 } from '@base-ui/react/autocomplete';
|
|
13
13
|
import { ComboboxRootProps, Combobox as Combobox$1 } from '@base-ui/react/combobox';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AppBar, AppBarSpacer, Badge, Calendar, DatePicker, DatePresets, DescriptionItem, DescriptionList, Drawer, EditableList, Field, ListDetail, MoneyField, NumberField, PickerButton, Popover, Sheet, SideNav, SideNavGroup, SideNavItem, SideNavToggle, Splitter, StatFigure, addDays, addMonths, builtinPresets, clampDate, daysInMonth, defaultPresets, defaultWeekStartsOn, endOfWeek, formatMoney, fromMinorUnits, getCurrencyDigits, inclusiveDays, isValidCurrency, isoWeek, last30Days, last7Days, lastMonth, lastWeek, lengthBlockReason, nextMonth, nextWeek, orderRange, parseDecimalString, resolvePreset, startOfWeek, thisMonth, thisQuarter, thisWeek, toDecimalString, toMinorUnits, today, todayDate, tomorrow, useListDetail, yearToDate, yesterday } from './chunk-
|
|
1
|
+
export { AppBar, AppBarSpacer, Badge, Calendar, DatePicker, DatePresets, DescriptionItem, DescriptionList, Drawer, EditableList, Field, ListDetail, MoneyField, NumberField, PickerButton, PickerSplit, PickerSplitMain, PickerSplitTrigger, Popover, Sheet, SideNav, SideNavGroup, SideNavItem, SideNavToggle, Splitter, StatFigure, addDays, addMonths, builtinPresets, clampDate, daysInMonth, defaultPresets, defaultWeekStartsOn, endOfWeek, formatMoney, fromMinorUnits, getCurrencyDigits, inclusiveDays, isValidCurrency, isoWeek, last30Days, last7Days, lastMonth, lastWeek, lengthBlockReason, nextMonth, nextWeek, orderRange, parseDecimalString, resolvePreset, startOfWeek, thisMonth, thisQuarter, thisWeek, toDecimalString, toMinorUnits, today, todayDate, tomorrow, useListDetail, yearToDate, yesterday } from './chunk-RLXKWWZG.js';
|
|
2
2
|
export { Checkbox, CheckboxLabel, Input, Menu, Tabs } from './chunk-Y2CPBMFJ.js';
|
|
3
3
|
import { cnState, styledPart, styledPartUnless, buttonPart, cn } from './chunk-M7KJASGK.js';
|
|
4
4
|
export { Button, Combobox, EmptyState, Select, cn, cnState } from './chunk-M7KJASGK.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Accordion - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens. Hover, press, chevron, divider and motion are the disclosure
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Alert Dialog - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens and no rules of its own. An alert dialog looks exactly like a
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Autocomplete - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens. The input is Input (Input.css), the clear button is an icon
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Avatar - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* A round picture with a ring in the page color, so avatars in a group cut out of each other in
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Button - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* Colors are the brand's emphasis levels, sizes are control.*, text is the trigger
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Checkbox - Mojave Theme
|
|
3
3
|
* Sizes follow the label: the box is the icon size one tier above the label's text
|
|
4
4
|
* tier (like a button's icon) and the check mark one tier below it.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Checkbox Group - Mojave Theme */
|
|
3
3
|
|
|
4
4
|
/* Each checkbox row is already a full tap target tall, so the rows sit close. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Collapsible - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens. Hover, press, chevron and motion are the disclosure concept
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Combobox - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens. The input is Input (Input.css); the chips box is a field; the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Context Menu - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens. Opens on right-click; the trigger area only sets the cursor. The popup is the popup concept, rows are item rows at the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Dialog and Alert dialog - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* Both are centered modals built from the modal concept (tokens/semantic/modal.json):
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Drawer - a panel that slides in from an edge and can be swiped away.
|
|
3
3
|
The surface, scrim, heading and motion are the modal concept's (--sl-modal-*), so a
|
|
4
4
|
drawer reads as a dialog's sibling; only its size and grab bar are its own
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Field - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* Label, control, description and error. No component tokens: spacing is the field
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Fieldset - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens: a titled group of fields, spaced by the stack gaps, with
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Form - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens: fields stack with the large block space, and the action
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Input - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens: the look is the field concept (tokens/semantic/field.json),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Menu - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens. The trigger is a Button. The popup is the popup concept, rows are item rows at the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Menubar - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens. A row of quiet triggers, each opening a menu. The popup is the popup concept, rows are item rows at the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Meter - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* A gauge (tokens/semantic/gauge.json). The fill is the solid color of the scope around it:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Navigation Menu - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* The strip is the bar concept, the panel is the popup concept and each link is an item
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Number Field - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens. The input is Input (Input.css) and the label, description and
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* OTP Field - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* One-time code entry: a row of single-character inputs. Each slot is the same control as Input
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Preview Card - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* The popup concept (surface, arrow, motion) with a title-magnify title and condense
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Progress - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* A gauge (tokens/semantic/gauge.json), the same bar as Meter. The fill is the solid color of
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Radio - Mojave Theme
|
|
3
3
|
* Same box as Checkbox, always round. Sizes follow the label the same way, and the
|
|
4
4
|
* dot is a share of the circle (check.dot-scale).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Scroll Area - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* The scrollbar is the content scrollbar (content.scrollbar-*): a track that stays clear until
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Select - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* The trigger is a field (the field pattern, control sizes, the base text style); the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Separator - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* A hairline in the everyday divider color (border.default), one stroke thick, with a step of
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Slider - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* A slider is a gauge you can drag: the track, fill and label row are gauge.* (the same bar as
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Switch - Mojave Theme
|
|
3
3
|
* Switch keeps its track sizes. The thumb, its travel and the ON/OFF text are
|
|
4
4
|
* worked out from them: the thumb fills the track's height inside the padding,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Tabs - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens. The divider, the selected line and color, hover and the disabled
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Toast - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* A toast is a notice (tokens/semantic/notice.json) on the popup surface. A toast whose type
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Toggle - Mojave Theme
|
|
3
3
|
* A toggle is a button that stays pressed: the same heights, padding, gap and
|
|
4
4
|
* trigger text style as a button of the same size. Pressed, it takes its emphasis level's
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Toggle Group - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* No component tokens. The strip is the bar concept (tokens/semantic/bar.json); the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Toolbar - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* The strip is the bar concept (tokens/semantic/bar.json). Buttons, toggles, selects
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Tooltip - Mojave Theme
|
|
3
3
|
*
|
|
4
4
|
* The inverse surface (surface.inverse, text.on-inverse-surface) with condense text, so a tooltip
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* AppBar
|
|
3
3
|
*
|
|
4
4
|
* The bar across the top of an app window, one row on a line in the rule color. The line is
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Pagination
|
|
3
3
|
*
|
|
4
4
|
* Not tied to a collection. Anything with a page, a page count and a total can use it.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Collection toolbar
|
|
3
3
|
*
|
|
4
4
|
* The wrap follows the toolbar's own width, not the window: a table in a narrow pane wraps
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* DataList
|
|
3
3
|
*
|
|
4
4
|
* The same rows as the table, in one container with the table's borders, hover, selected
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* DataTable additions on top of .Table.
|
|
3
3
|
*
|
|
4
4
|
* Sort buttons fill the header cell and inherit its hover, so old aria-sort markup keeps
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/*
|
|
3
3
|
* DatePicker: a field that opens a calendar for one date or a period.
|
|
4
4
|
* Not a Base UI part. The popup is Popover on a wide viewport and Drawer
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* DescriptionList
|
|
3
3
|
*
|
|
4
4
|
* Label and value pairs in a native dl, one DescriptionItem (a div holding a dt and a dd)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* EditableList
|
|
3
3
|
*
|
|
4
4
|
* One table at every width, so a field is not submitted twice. Under the stack width each
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* PickerButton
|
|
3
3
|
*
|
|
4
4
|
* A trigger with a caps label before the current choice: CLIENT Alpha Services. The field
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
|
+
/* PickerSplit
|
|
3
|
+
*
|
|
4
|
+
* A PickerButton whose choice is itself a control: the main part (CLIENT Alpha Services) acts,
|
|
5
|
+
* and a square trigger beside it, divided by a hairline, opens the list. The root carries the
|
|
6
|
+
* field look so a popup anchors to the whole control; each part fills on hover and the border
|
|
7
|
+
* darkens for the control as a whole. Label, choice and chevron reuse the PickerButton parts and
|
|
8
|
+
* tokens (picker-button.*), so the two read as one family.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
.PickerSplit {
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
color: var(--sl-field-color);
|
|
14
|
+
background: var(--sl-field-background);
|
|
15
|
+
border: var(--sl-field-border-width) solid var(--sl-field-border-color);
|
|
16
|
+
border-radius: var(--sl-field-radius);
|
|
17
|
+
transition: var(--sl-field-transition);
|
|
18
|
+
outline: none;
|
|
19
|
+
display: inline-grid;
|
|
20
|
+
grid-template-columns: minmax(0, 1fr) var(--sl-control-height-md);
|
|
21
|
+
grid-template-rows: minmax(0, 1fr);
|
|
22
|
+
box-sizing: border-box;
|
|
23
|
+
max-width: var(--sl-picker-button-max-width);
|
|
24
|
+
min-width: 0;
|
|
25
|
+
height: var(--sl-control-height-md);
|
|
26
|
+
padding: 0;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.PickerSplit:hover:not(:has(:disabled)) {
|
|
31
|
+
border-color: var(--sl-field-border-color-hover);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.PickerSplitMain,
|
|
35
|
+
.PickerSplitTrigger {
|
|
36
|
+
font-family: var(--sl-font-body-base-font-family);
|
|
37
|
+
font-size: var(--sl-font-body-base-font-size);
|
|
38
|
+
font-weight: var(--sl-font-body-base-font-weight);
|
|
39
|
+
line-height: var(--sl-font-body-base-line-height);
|
|
40
|
+
letter-spacing: var(--sl-font-body-base-letter-spacing);
|
|
41
|
+
box-sizing: border-box;
|
|
42
|
+
height: 100%;
|
|
43
|
+
margin: 0;
|
|
44
|
+
border: 0;
|
|
45
|
+
border-radius: 0;
|
|
46
|
+
background: transparent;
|
|
47
|
+
color: var(--sl-field-color);
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.PickerSplitMain {
|
|
52
|
+
display: grid;
|
|
53
|
+
grid-auto-flow: column;
|
|
54
|
+
grid-template-columns: max-content minmax(0, max-content);
|
|
55
|
+
grid-auto-columns: max-content;
|
|
56
|
+
align-items: baseline;
|
|
57
|
+
align-content: center;
|
|
58
|
+
justify-content: start;
|
|
59
|
+
gap: var(--sl-gap-control);
|
|
60
|
+
min-width: 0;
|
|
61
|
+
padding-block: 0;
|
|
62
|
+
padding-inline: var(--sl-control-padding-inline);
|
|
63
|
+
white-space: nowrap;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.PickerSplitTrigger {
|
|
67
|
+
display: inline-flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
justify-content: center;
|
|
70
|
+
padding: 0;
|
|
71
|
+
border-inline-start: var(--sl-stroke-default) solid var(--sl-field-border-color);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@media (hover: hover) {
|
|
75
|
+
.PickerSplitMain:hover:not(:disabled),
|
|
76
|
+
.PickerSplitTrigger:hover:not(:disabled) {
|
|
77
|
+
background: var(--sl-fill-subtle);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* The focus ring sits inside each part, since the root clips its edges. */
|
|
82
|
+
.PickerSplitMain:focus-visible,
|
|
83
|
+
.PickerSplitTrigger:focus-visible {
|
|
84
|
+
outline: var(--sl-stroke-strong) solid var(--sl-field-border-color-focus);
|
|
85
|
+
outline-offset: calc(var(--sl-stroke-strong) * -1);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.PickerSplitMain:disabled,
|
|
89
|
+
.PickerSplitTrigger:disabled {
|
|
90
|
+
color: var(--sl-field-color-disabled);
|
|
91
|
+
cursor: not-allowed;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.PickerSplitTrigger[aria-expanded='true'] .PickerButtonIcon,
|
|
95
|
+
.PickerSplitTrigger[data-popup-open] .PickerButtonIcon {
|
|
96
|
+
transform: rotate(180deg);
|
|
97
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* Sheet
|
|
3
3
|
*
|
|
4
4
|
* A working-paper surface: the raised surface with a heavier rule across its top
|
|
@@ -85,6 +85,12 @@
|
|
|
85
85
|
border-radius: 0;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
/* And its fill: rows rest on the sheet, so a row's hover tint shows against it. */
|
|
89
|
+
.SheetBody > .Table,
|
|
90
|
+
.SheetBody > .CollectionView .Table {
|
|
91
|
+
background: transparent;
|
|
92
|
+
}
|
|
93
|
+
|
|
88
94
|
.SheetBody > .Table > thead > tr:first-child > *,
|
|
89
95
|
.SheetBody > .Table:not(:has(> thead)) > tbody:first-of-type > tr:first-child > *,
|
|
90
96
|
.SheetBody > .DataList ul > li:first-child {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @scattered-light/loomiere-base-ui 0.
|
|
1
|
+
/* @scattered-light/loomiere-base-ui 0.15.1 · styles for @base-ui/react 1.9.0 */
|
|
2
2
|
/* SideNav
|
|
3
3
|
*
|
|
4
4
|
* The column of links down the side of a workspace. Rows are ruled apart with a hairline; the
|