@soxa-ui/theme-base 0.3.0-beta.1 → 0.3.1-beta.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/README.md +5 -0
- package/package.json +3 -3
- package/src/components/alert-dialog.css +19 -0
- package/src/components/alert.css +116 -0
- package/src/components/avatar-group.css +36 -0
- package/src/components/avatar.css +75 -0
- package/src/components/badge.css +106 -0
- package/src/components/breadcrumbs.css +103 -0
- package/src/components/code-block.css +173 -0
- package/src/components/select.css +2 -0
- package/src/components/separator.css +15 -0
- package/src/components/tabs.css +30 -9
- package/src/components/toggle-group.css +30 -0
- package/src/index.css +16 -5
- package/src/modal.css +35 -14
- package/src/place.css +1 -0
- package/theme-contract.json +671 -16
- package/theme-variables.json +69 -2
package/theme-variables.json
CHANGED
|
@@ -278,7 +278,73 @@
|
|
|
278
278
|
"--so-table-body-shift": "Neighboring Table column cell shift in reorderPreview: column. The base layer distributes it to cells by column number. The theme sets it on the body using its motion while a column is dragged, for at most thirty columns (the base layer rule limit). Without it cells stay in place.",
|
|
279
279
|
"--so-table-body-dragged": "Dragged Table column cell visibility in reorderPreview: column (hidden hides cells in their original positions). The theme sets it on the body using its motion, with the same column-count limit. Fallback: row visibility.",
|
|
280
280
|
"--so-swipe-offset": "Layer offset during swipe-to-dismiss, in signed pixels along the viewport axis. The gesture plugin writes it on the dragged layer (Popover, Select, DatePicker, Drawer or toast); themes must not set it. The base layer uses it in translate and registers it without inheritance. Fallback: 0px.",
|
|
281
|
-
"--so-table-column-drag": "Dragged Table header inline offset during column reorder. The gesture plugin writes it on the header to follow the pointer and, after release, to reach the destination. Themes must not set it. The base layer uses it in translate; the theme transitions the landing. Fallback: 0."
|
|
281
|
+
"--so-table-column-drag": "Dragged Table header inline offset during column reorder. The gesture plugin writes it on the header to follow the pointer and, after release, to reach the destination. Themes must not set it. The base layer uses it in translate; the theme transitions the landing. Fallback: 0.",
|
|
282
|
+
"--so-badge-height-sm": "Badge indicator height and minimum inline size, size sm; default: 1rem.",
|
|
283
|
+
"--so-badge-height-normal": "Badge indicator height and minimum inline size, size normal; default: 1.25rem.",
|
|
284
|
+
"--so-badge-height-lg": "Badge indicator height and minimum inline size, size lg; default: 1.5rem.",
|
|
285
|
+
"--so-badge-height-xl": "Badge indicator height and minimum inline size, size xl; default: 1.75rem.",
|
|
286
|
+
"--so-badge-height-2xl": "Badge indicator height and minimum inline size, size 2xl; default: 2rem.",
|
|
287
|
+
"--so-badge-font-size-sm": "Badge indicator font size, size sm; default: 0.625rem.",
|
|
288
|
+
"--so-badge-font-size-normal": "Badge indicator font size, size normal; default: 0.75rem.",
|
|
289
|
+
"--so-badge-font-size-lg": "Badge indicator font size, size lg; default: 0.875rem.",
|
|
290
|
+
"--so-badge-font-size-xl": "Badge indicator font size, size xl; default: 1rem.",
|
|
291
|
+
"--so-badge-font-size-2xl": "Badge indicator font size, size 2xl; default: 1.125rem.",
|
|
292
|
+
"--so-badge-padding-sm": "Badge indicator inline padding, size sm; default: 0.25rem.",
|
|
293
|
+
"--so-badge-padding-normal": "Badge indicator inline padding, size normal; default: 0.375rem.",
|
|
294
|
+
"--so-badge-padding-lg": "Badge indicator inline padding, size lg; default: 0.4375rem.",
|
|
295
|
+
"--so-badge-padding-xl": "Badge indicator inline padding, size xl; default: 0.5rem.",
|
|
296
|
+
"--so-badge-padding-2xl": "Badge indicator inline padding, size 2xl; default: 0.625rem.",
|
|
297
|
+
"--so-badge-dot-size-sm": "Badge dot side length, size sm; default: 0.375rem.",
|
|
298
|
+
"--so-badge-dot-size-normal": "Badge dot side length, size normal; default: 0.5rem.",
|
|
299
|
+
"--so-badge-dot-size-lg": "Badge dot side length, size lg; default: 0.625rem.",
|
|
300
|
+
"--so-badge-dot-size-xl": "Badge dot side length, size xl; default: 0.75rem.",
|
|
301
|
+
"--so-badge-dot-size-2xl": "Badge dot side length, size 2xl; default: 0.875rem.",
|
|
302
|
+
"--so-badge-height": "Badge indicator height and minimum inline size; default: 1.25rem (normal), 1rem (sm), 1.5rem (lg), 1.75rem (xl), 2rem (2xl).",
|
|
303
|
+
"--so-badge-font-size": "Badge indicator font size; default: 0.75rem (normal), 0.625rem (sm), 0.875rem (lg), 1rem (xl), 1.125rem (2xl).",
|
|
304
|
+
"--so-badge-padding": "Badge indicator inline padding; default: 0.375rem (normal), 0.25rem (sm), 0.4375rem (lg), 0.5rem (xl), 0.625rem (2xl).",
|
|
305
|
+
"--so-badge-dot-size": "Badge dot side length; default: 0.5rem (normal), 0.375rem (sm), 0.625rem (lg), 0.75rem (xl), 0.875rem (2xl).",
|
|
306
|
+
"--so-breadcrumbs-gap": "Resolved gap for the current Breadcrumbs size, shared by its list and item parts.",
|
|
307
|
+
"--so-breadcrumbs-separator-size": "Inline size of a decorative breadcrumb separator; default: 0.5em.",
|
|
308
|
+
"--so-breadcrumbs-gap-sm": "Breadcrumbs gap scale, size sm; defaults to the shared Button gap. Override on :root or an ancestor of a trail.",
|
|
309
|
+
"--so-breadcrumbs-gap-normal": "Breadcrumbs gap scale, size normal; defaults to the shared Button gap. Override on :root or an ancestor of a trail.",
|
|
310
|
+
"--so-breadcrumbs-gap-lg": "Breadcrumbs gap scale, size lg; defaults to the shared Button gap. Override on :root or an ancestor of a trail.",
|
|
311
|
+
"--so-breadcrumbs-gap-xl": "Breadcrumbs gap scale, size xl; defaults to the shared Button gap. Override on :root or an ancestor of a trail.",
|
|
312
|
+
"--so-breadcrumbs-gap-2xl": "Breadcrumbs gap scale, size 2xl; defaults to the shared Button gap. Override on :root or an ancestor of a trail.",
|
|
313
|
+
"--so-toggle-group-gap": "Gap between ToggleGroup buttons on either orientation; default: 0.25rem.",
|
|
314
|
+
"--so-toggle-group-bleed": "Space for the buttons' outer focus rings inside the horizontal ToggleGroup scroll viewport; default: 0.25rem.",
|
|
315
|
+
"--so-code-block-padding": "CodeBlock padding: shared layout default, overridable by the theme or application.",
|
|
316
|
+
"--so-code-block-gap": "CodeBlock gap: shared layout default, overridable by the theme or application.",
|
|
317
|
+
"--so-code-block-font-family": "CodeBlock font family: shared layout default, overridable by the theme or application.",
|
|
318
|
+
"--so-code-block-toolbar-font-size": "CodeBlock filename, tab and copy-action font size. Default: 0.75rem.",
|
|
319
|
+
"--so-code-block-font-size": "CodeBlock font size: shared layout default, overridable by the theme or application.",
|
|
320
|
+
"--so-code-block-line-height": "CodeBlock line height: shared layout default, overridable by the theme or application.",
|
|
321
|
+
"--so-code-block-gutter-width": "CodeBlock gutter width: shared layout default, overridable by the theme or application.",
|
|
322
|
+
"--so-code-block-header-height-sm": "CodeBlock toolbar height, size sm: compact toolbar scale, independent of the standalone Button height.",
|
|
323
|
+
"--so-code-block-header-height-normal": "CodeBlock toolbar height, size normal: compact toolbar scale, independent of the standalone Button height.",
|
|
324
|
+
"--so-code-block-header-height-lg": "CodeBlock toolbar height, size lg: compact toolbar scale, independent of the standalone Button height.",
|
|
325
|
+
"--so-code-block-header-height-xl": "CodeBlock toolbar height, size xl: compact toolbar scale, independent of the standalone Button height.",
|
|
326
|
+
"--so-code-block-header-height-2xl": "CodeBlock toolbar height, size 2xl: compact toolbar scale, independent of the standalone Button height.",
|
|
327
|
+
"--so-code-block-tab-size": "CodeBlock visual tab width, in character cells; default: 4.",
|
|
328
|
+
"--so-alert-padding": "Alert inner padding; default: 1rem.",
|
|
329
|
+
"--so-alert-gap": "Alert column/action gap; default: 0.75rem.",
|
|
330
|
+
"--so-alert-icon-size": "Decorative Alert icon side; default: 1.25em.",
|
|
331
|
+
"--so-alert-close-size": "Alert close button side; default: var(--so-button-height-sm).",
|
|
332
|
+
"--so-avatar-size-sm": "Avatar square image and fallback box, size sm. The normal step also sizes the default group overflow count.",
|
|
333
|
+
"--so-avatar-font-size-sm": "Avatar fallback font size relative to its surrounding text, size sm.",
|
|
334
|
+
"--so-avatar-size-normal": "Avatar square image and fallback box, size normal. The normal step also sizes the default group overflow count.",
|
|
335
|
+
"--so-avatar-font-size-normal": "Avatar fallback font size relative to its surrounding text, size normal.",
|
|
336
|
+
"--so-avatar-size-lg": "Avatar square image and fallback box, size lg. The normal step also sizes the default group overflow count.",
|
|
337
|
+
"--so-avatar-font-size-lg": "Avatar fallback font size relative to its surrounding text, size lg.",
|
|
338
|
+
"--so-avatar-size-xl": "Avatar square image and fallback box, size xl. The normal step also sizes the default group overflow count.",
|
|
339
|
+
"--so-avatar-font-size-xl": "Avatar fallback font size relative to its surrounding text, size xl.",
|
|
340
|
+
"--so-avatar-size-2xl": "Avatar square image and fallback box, size 2xl. The normal step also sizes the default group overflow count.",
|
|
341
|
+
"--so-avatar-font-size-2xl": "Avatar fallback font size relative to its surrounding text, size 2xl.",
|
|
342
|
+
"--so-avatar-group-overlap": "Inline overlap between sibling avatars and the overflow slot; default: 0.25rem.",
|
|
343
|
+
"--so-avatar-group-count-padding": "Inline padding of the default avatar group overflow count; default: 0.375rem.",
|
|
344
|
+
"--so-separator-width": "Separator line thickness in either orientation; default: 1px.",
|
|
345
|
+
"--so-alert-dialog-width": "AlertDialog panel width; default: 32rem. Bounded by the viewport minus its offset.",
|
|
346
|
+
"--so-alert-dialog-height": "AlertDialog panel height; default: fit-content. Bounded by the viewport minus its offset.",
|
|
347
|
+
"--so-alert-dialog-offset": "AlertDialog distance from every viewport edge; default: 1rem."
|
|
282
348
|
},
|
|
283
349
|
"theme-reads": {
|
|
284
350
|
"--so-dir-sign": "Writing direction sign from the nearest dir: 1 for left-to-right, -1 for right-to-left. Written by the base layer dir rules; themes multiply mirroring transforms (scale, gradient angle or offset) by it.",
|
|
@@ -331,6 +397,7 @@
|
|
|
331
397
|
"--so-tabs-active-moving": "Active marker movement flag: 1 while row pseudo-element transitions finish. Written on the row by TTabsViewPlugin; the theme uses it for marker transition duration: calc(var(--so-tabs-active-moving, 0) * 200ms).",
|
|
332
398
|
"--so-table-column-ghost": "Table column resize ghost inline offset during deferred handle dragging (data-resize-ghost). Written on the header by the resize plugin; the theme draws the ghost and uses it in translate.",
|
|
333
399
|
"--so-table-column-ghost-size": "Table column resize ghost height from the header top to the table bottom inside its viewport. Written on the header by the resize plugin.",
|
|
334
|
-
"--so-table-column-shift": "Dragged Table column width, used to move neighbors during reorder. The gesture plugin writes it on the header in reorderPreview: head, or on the root in column mode. The theme animates neighbors with it and sets body variables (--so-table-body-shift)."
|
|
400
|
+
"--so-table-column-shift": "Dragged Table column width, used to move neighbors during reorder. The gesture plugin writes it on the header in reorderPreview: head, or on the root in column mode. The theme animates neighbors with it and sets body variables (--so-table-body-shift).",
|
|
401
|
+
"--so-code-block-header-height": "Resolved CodeBlock toolbar height at its current size, from the document-root header-height scale."
|
|
335
402
|
}
|
|
336
403
|
}
|