@signal9/era-ui 7.0.0 → 9.0.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/ai/artifact/artifact-close.svelte +1 -1
- package/dist/ai/artifact/artifact-content.svelte +1 -1
- package/dist/ai/artifact/artifact-header.svelte +1 -1
- package/dist/ai/artifact/artifact.svelte +1 -1
- package/dist/ai/chain-of-thought/chain-of-thought-step.svelte +1 -1
- package/dist/ai/chain-of-thought/chain-of-thought.svelte +1 -1
- package/dist/ai/checkpoint.svelte +1 -1
- package/dist/ai/confirmation/confirmation-args.svelte +2 -2
- package/dist/ai/confirmation/confirmation.svelte +4 -4
- package/dist/ai/context/context.svelte +1 -1
- package/dist/ai/conversation/conversation-content.svelte +1 -1
- package/dist/ai/conversation/conversation-empty-state.svelte +1 -1
- package/dist/ai/conversation/conversation-scroll-button.svelte +2 -2
- package/dist/ai/conversations/conversations-group.svelte +1 -1
- package/dist/ai/conversations/conversations-item.svelte +7 -7
- package/dist/ai/error-panel/error-panel.svelte +4 -4
- package/dist/ai/image.svelte +1 -1
- package/dist/ai/inline-citation/inline-citation.svelte +2 -2
- package/dist/ai/loader.svelte +1 -1
- package/dist/ai/message/message-branch-selector.svelte +3 -3
- package/dist/ai/message/message-content.svelte +1 -1
- package/dist/ai/message/message-usage.svelte +4 -4
- package/dist/ai/model-selector/model-selector.svelte +1 -1
- package/dist/ai/open-in-chat/open-in-chat.svelte +2 -2
- package/dist/ai/plan/plan-content.svelte +1 -1
- package/dist/ai/plan/plan-header.svelte +2 -2
- package/dist/ai/plan/plan.svelte +1 -1
- package/dist/ai/prompt-input/prompt-input-add-attachments.svelte +1 -1
- package/dist/ai/prompt-input/prompt-input-attachments.svelte +5 -5
- package/dist/ai/prompt-input/prompt-input-submit.svelte +3 -3
- package/dist/ai/prompt-input/prompt-input-textarea.svelte +3 -3
- package/dist/ai/prompt-input/prompt-input.svelte +1 -1
- package/dist/ai/queue/queue-item.svelte +1 -1
- package/dist/ai/queue/queue.svelte +1 -1
- package/dist/ai/reasoning/reasoning-trigger.svelte +1 -1
- package/dist/ai/response/response.svelte +2 -2
- package/dist/ai/run-status/run-status.svelte +5 -5
- package/dist/ai/runtime-feed/runtime-feed-item.svelte +1 -1
- package/dist/ai/sources/source.svelte +1 -1
- package/dist/ai/sources/sources-trigger.svelte +1 -1
- package/dist/ai/structured-value/structured-value.svelte +1 -1
- package/dist/ai/suggestion/suggestion.svelte +2 -2
- package/dist/ai/swarm/swarm-agent.svelte +1 -1
- package/dist/ai/swarm/swarm-artifact.svelte +1 -1
- package/dist/ai/swarm/swarm-barrier.svelte +1 -1
- package/dist/ai/swarm/swarm-barriers.svelte +1 -1
- package/dist/ai/swarm/swarm-counts.svelte +1 -1
- package/dist/ai/swarm/swarm-footer.svelte +1 -1
- package/dist/ai/swarm/swarm-grid.svelte +2 -2
- package/dist/ai/swarm/swarm-header.svelte +1 -1
- package/dist/ai/swarm/swarm-node.svelte +7 -7
- package/dist/ai/swarm/swarm-role.svelte +1 -1
- package/dist/ai/swarm/swarm-root.svelte +1 -1
- package/dist/ai/swarm/swarm-sandbox.svelte +3 -3
- package/dist/ai/swarm/swarm-tree.svelte +1 -1
- package/dist/ai/task/task-content.svelte +1 -1
- package/dist/ai/task/task-trigger.svelte +1 -1
- package/dist/ai/tool/tool-chip.svelte +2 -2
- package/dist/ai/tool/tool-exec.svelte +3 -3
- package/dist/ai/tool/tool-header.svelte +1 -1
- package/dist/ai/web-preview/web-preview.svelte +3 -3
- package/dist/ai/workflow/canvas.svelte +1 -1
- package/dist/ai/workflow/node.svelte +3 -3
- package/dist/apps/llm-shell/llm-shell.svelte +7 -7
- package/dist/apps/notes/editor/slash-menu.svelte +7 -5
- package/dist/apps/notes/note-editor.svelte +7 -364
- package/dist/apps/notes/note-editor.svelte.d.ts +1 -0
- package/dist/apps/notes/notes.svelte +9 -9
- package/dist/dev/audit/audits/_helpers.js +1 -1
- package/dist/dev/audit/audits/resting-gap.js +1 -1
- package/dist/dev/audit/audits/single-glyph-square.js +2 -2
- package/dist/dev/audit-overlay.svelte +7 -7
- package/dist/dev/measure.d.ts +1 -1
- package/dist/dev/measure.js +1 -1
- package/dist/docs/badge.md +1 -1
- package/dist/docs/css-utilities.d.ts +1 -1
- package/dist/docs/css-utilities.js +8 -8
- package/dist/docs/llms-txt.js +1 -1
- package/dist/era-ui.css +1 -1
- package/dist/generated-docs/badge.md +1 -1
- package/dist/generated-docs/bar.md +2 -2
- package/dist/generated-docs/chip.md +1 -1
- package/dist/generated-docs/input.md +1 -1
- package/dist/generated-docs/llms-full.txt +100 -120
- package/dist/generated-docs/llms.txt +12 -13
- package/dist/generated-docs/manifest.json +52 -65
- package/dist/generated-docs/utilities.json +45 -57
- package/dist/generated-docs/utilities.md +87 -106
- package/dist/os/notification-center.svelte +6 -6
- package/dist/os/pane.svelte +7 -5
- package/dist/os/taskbar.svelte +10 -10
- package/dist/os/toast.svelte +3 -3
- package/dist/os/toaster.svelte +1 -1
- package/dist/styles/density.css +93 -67
- package/dist/styles/index.css +89 -101
- package/dist/styles/prose.css +384 -0
- package/dist/styles/surfaces/base.css +3 -3
- package/dist/styles/surfaces/bevel.css +2 -2
- package/dist/ui/accordion/accordion-trigger.svelte +2 -2
- package/dist/ui/alert-dialog/alert-dialog-content.svelte +1 -1
- package/dist/ui/aspect-ratio/aspect-ratio.svelte +1 -1
- package/dist/ui/avatar/avatar-root.svelte +1 -1
- package/dist/ui/badge/badge.svelte +1 -1
- package/dist/ui/badge/badge.svelte.d.ts +1 -1
- package/dist/ui/bar/bar.svelte +23 -15
- package/dist/ui/bar/bar.svelte.d.ts +26 -26
- package/dist/ui/button/button.svelte +1 -1
- package/dist/ui/button/variants.js +18 -18
- package/dist/ui/button-group/button-group.svelte +2 -2
- package/dist/ui/calendar/calendar-day.svelte +1 -1
- package/dist/ui/calendar/calendar-head-cell.svelte +1 -1
- package/dist/ui/calendar/calendar-header.svelte +1 -1
- package/dist/ui/calendar/calendar-next-button.svelte +1 -1
- package/dist/ui/calendar/calendar-prev-button.svelte +1 -1
- package/dist/ui/card/card.svelte +5 -5
- package/dist/ui/card/card.svelte.d.ts +4 -4
- package/dist/ui/checkbox/checkbox.svelte +3 -3
- package/dist/ui/chip/chip.svelte +14 -10
- package/dist/ui/chip/chip.svelte.d.ts +7 -7
- package/dist/ui/code-block/code-block.svelte +6 -6
- package/dist/ui/collapsible/collapsible-trigger.svelte +1 -1
- package/dist/ui/combobox/combobox-content.svelte +1 -1
- package/dist/ui/combobox/combobox-empty.svelte +4 -1
- package/dist/ui/combobox/combobox-group-heading.svelte +4 -1
- package/dist/ui/combobox/combobox-item.svelte +1 -1
- package/dist/ui/combobox/combobox-trigger.svelte +2 -2
- package/dist/ui/command/command-group-heading.svelte +4 -1
- package/dist/ui/command/command-item.svelte +1 -1
- package/dist/ui/command/command-link-item.svelte +1 -1
- package/dist/ui/command/command-root.svelte +1 -1
- package/dist/ui/command-bar/command-bar.svelte +16 -12
- package/dist/ui/context-menu/context-menu-checkbox-item.svelte +1 -1
- package/dist/ui/context-menu/context-menu-content.svelte +1 -1
- package/dist/ui/context-menu/context-menu-group-heading.svelte +4 -1
- package/dist/ui/context-menu/context-menu-item.svelte +1 -1
- package/dist/ui/context-menu/context-menu-radio-item.svelte +1 -1
- package/dist/ui/context-menu/context-menu-sub-content.svelte +1 -1
- package/dist/ui/context-menu/context-menu-sub-trigger.svelte +2 -2
- package/dist/ui/copy-button/copy-button.svelte +2 -2
- package/dist/ui/cycle/cycle.svelte +1 -1
- package/dist/ui/date-field/date-field-segment.svelte +1 -1
- package/dist/ui/date-picker/date-picker-content.svelte +1 -1
- package/dist/ui/date-picker/date-picker-day.svelte +1 -1
- package/dist/ui/date-picker/date-picker-head-cell.svelte +1 -1
- package/dist/ui/date-picker/date-picker-header.svelte +1 -1
- package/dist/ui/date-picker/date-picker-next-button.svelte +1 -1
- package/dist/ui/date-picker/date-picker-prev-button.svelte +1 -1
- package/dist/ui/date-picker/date-picker-segment.svelte +1 -1
- package/dist/ui/date-picker/date-picker-trigger.svelte +2 -2
- package/dist/ui/date-range-field/date-range-field-segment.svelte +1 -1
- package/dist/ui/date-range-picker/date-range-picker-content.svelte +1 -1
- package/dist/ui/date-range-picker/date-range-picker-day.svelte +1 -1
- package/dist/ui/date-range-picker/date-range-picker-head-cell.svelte +1 -1
- package/dist/ui/date-range-picker/date-range-picker-header.svelte +1 -1
- package/dist/ui/date-range-picker/date-range-picker-next-button.svelte +1 -1
- package/dist/ui/date-range-picker/date-range-picker-prev-button.svelte +1 -1
- package/dist/ui/date-range-picker/date-range-picker-segment.svelte +1 -1
- package/dist/ui/date-range-picker/date-range-picker-trigger.svelte +2 -2
- package/dist/ui/dialog/dialog-content.svelte +4 -2
- package/dist/ui/dialog/dialog-header.svelte +2 -2
- package/dist/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +1 -1
- package/dist/ui/dropdown-menu/dropdown-menu-content.svelte +1 -1
- package/dist/ui/dropdown-menu/dropdown-menu-group-heading.svelte +4 -1
- package/dist/ui/dropdown-menu/dropdown-menu-item.svelte +1 -1
- package/dist/ui/dropdown-menu/dropdown-menu-radio-item.svelte +1 -1
- package/dist/ui/dropdown-menu/dropdown-menu-sub-content.svelte +1 -1
- package/dist/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +2 -2
- package/dist/ui/dropdown-menu/dropdown-menu-trigger.svelte +2 -2
- package/dist/ui/file-upload/file-upload.svelte +2 -2
- package/dist/ui/input/input.svelte +3 -3
- package/dist/ui/input/input.svelte.d.ts +1 -1
- package/dist/ui/input/textarea.svelte +1 -1
- package/dist/ui/input/variants.d.ts +24 -24
- package/dist/ui/input/variants.js +9 -9
- package/dist/ui/kv/kv.svelte +2 -2
- package/dist/ui/link-preview/link-preview-content.svelte +1 -1
- package/dist/ui/menubar/menubar-checkbox-item.svelte +1 -1
- package/dist/ui/menubar/menubar-content.svelte +1 -1
- package/dist/ui/menubar/menubar-group-heading.svelte +4 -1
- package/dist/ui/menubar/menubar-item.svelte +1 -1
- package/dist/ui/menubar/menubar-radio-item.svelte +1 -1
- package/dist/ui/menubar/menubar-root.svelte +1 -1
- package/dist/ui/menubar/menubar-sub-content.svelte +1 -1
- package/dist/ui/menubar/menubar-sub-trigger.svelte +2 -2
- package/dist/ui/menubar/menubar-trigger.svelte +1 -1
- package/dist/ui/meter/meter.svelte +1 -1
- package/dist/ui/pagination/pagination-next-button.svelte +1 -1
- package/dist/ui/pagination/pagination-prev-button.svelte +1 -1
- package/dist/ui/pane/pane-close.svelte +2 -2
- package/dist/ui/pane/pane-content.svelte +1 -1
- package/dist/ui/pane/pane-handle.svelte +3 -3
- package/dist/ui/pane/pane-root.svelte +12 -12
- package/dist/ui/pane/pane-tab-list.svelte +1 -1
- package/dist/ui/pane/pane-tab-panel.svelte +1 -1
- package/dist/ui/pane/pane-tab.svelte +1 -1
- package/dist/ui/pane/pane.svelte +1 -1
- package/dist/ui/pin-input/pin-input-cell.svelte +1 -1
- package/dist/ui/popover/popover-content.svelte +1 -1
- package/dist/ui/progress/progress.svelte +1 -1
- package/dist/ui/radio-group/radio-group-item.svelte +2 -2
- package/dist/ui/rating-group/rating-group-item.svelte +1 -1
- package/dist/ui/scroll-area/scroll-area-thumb.svelte +1 -1
- package/dist/ui/scroll-area/scroll-area.svelte +1 -1
- package/dist/ui/select/select-content.svelte +1 -1
- package/dist/ui/select/select-group-heading.svelte +4 -1
- package/dist/ui/select/select-item.svelte +1 -1
- package/dist/ui/select/select-trigger.svelte +2 -2
- package/dist/ui/select/select-value.svelte +1 -1
- package/dist/ui/sheet/sheet-content.svelte +3 -3
- package/dist/ui/sheet/sheet-content.svelte.d.ts +6 -6
- package/dist/ui/skeleton/skeleton.svelte +3 -3
- package/dist/ui/skeleton/skeleton.svelte.d.ts +9 -9
- package/dist/ui/slider/slider-range.svelte +1 -1
- package/dist/ui/slider/slider-thumb.svelte +1 -1
- package/dist/ui/step/step-content.svelte +1 -1
- package/dist/ui/step/step-summary.svelte +6 -6
- package/dist/ui/switch/switch.svelte +3 -3
- package/dist/ui/table/table-cell.svelte +1 -1
- package/dist/ui/table/table-head-cell.svelte +1 -1
- package/dist/ui/time-field/time-field-segment.svelte +1 -1
- package/dist/ui/time-range-field/time-range-field-segment.svelte +1 -1
- package/dist/ui/toggle-group/toggle-group-item.svelte +1 -1
- package/dist/ui/tooltip/tooltip-content.svelte +1 -1
- package/dist/ui/video-player/video-player.svelte +44 -44
- package/dist/utils/index.js +4 -4
- package/package.json +2 -1
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"slug": "utilities",
|
|
45
45
|
"title": "Utilities",
|
|
46
46
|
"summary": "The CSS classes era ships alongside the components — links, ink-centred text, shimmer, hidden scrollbars.",
|
|
47
|
-
"tokenEstimate":
|
|
47
|
+
"tokenEstimate": 6147,
|
|
48
48
|
"sections": [
|
|
49
49
|
"Overview",
|
|
50
50
|
"era-interactive",
|
|
@@ -56,13 +56,12 @@
|
|
|
56
56
|
"era-token-ink · era-ink-center",
|
|
57
57
|
"era-shimmer",
|
|
58
58
|
"era-collapse",
|
|
59
|
-
"h-
|
|
60
|
-
"min-h-
|
|
61
|
-
"size-
|
|
62
|
-
"px-sm · px-md · px-lg",
|
|
59
|
+
"h-icon · h-pill · h-chip · h-control · h-bar",
|
|
60
|
+
"min-h-icon · min-h-pill · min-h-chip · min-h-control · min-h-bar",
|
|
61
|
+
"size-icon · size-pill · size-chip · size-control · size-bar",
|
|
63
62
|
"gap-gutter · p-gutter · px-gutter · py-gutter",
|
|
64
|
-
"p-inset-
|
|
65
|
-
"px-pill
|
|
63
|
+
"p-inset-pill · p-inset-chip · p-inset-control · px-inset-pill · px-inset-chip · px-inset-control · py-inset-pill · py-inset-chip · py-inset-control",
|
|
64
|
+
"px-pill · px-chip",
|
|
66
65
|
"px-field",
|
|
67
66
|
"p-panel · p-card",
|
|
68
67
|
"p-content",
|
|
@@ -160,7 +159,7 @@
|
|
|
160
159
|
"slug": "bar",
|
|
161
160
|
"title": "Bar",
|
|
162
161
|
"summary": "A flex container for toolbars and headers, in three heights.",
|
|
163
|
-
"tokenEstimate":
|
|
162
|
+
"tokenEstimate": 206,
|
|
164
163
|
"sections": [
|
|
165
164
|
"Import",
|
|
166
165
|
"Props"
|
|
@@ -1054,58 +1053,46 @@
|
|
|
1054
1053
|
"css": "@utility era-collapse {\n\toverflow: hidden;\n\t&[data-state='open'] {\n\t\tanimation: era-collapse-open var(--era-duration) var(--era-ease);\n\t}\n\t&[data-state='closed'] {\n\t\tanimation: era-collapse-close var(--era-duration) var(--era-ease);\n\t}\n}"
|
|
1055
1054
|
},
|
|
1056
1055
|
{
|
|
1057
|
-
"name": "h-
|
|
1056
|
+
"name": "h-icon",
|
|
1058
1057
|
"names": [
|
|
1059
|
-
"h-
|
|
1060
|
-
"h-
|
|
1061
|
-
"h-
|
|
1062
|
-
"h-
|
|
1063
|
-
"h-
|
|
1058
|
+
"h-icon",
|
|
1059
|
+
"h-pill",
|
|
1060
|
+
"h-chip",
|
|
1061
|
+
"h-control",
|
|
1062
|
+
"h-bar"
|
|
1064
1063
|
],
|
|
1065
1064
|
"file": "index.css",
|
|
1066
|
-
"useCase": "the tier-height ladder — h-
|
|
1065
|
+
"useCase": "the tier-height ladder — h-icon (icon) · h-pill (nested pill) · h-chip (standalone pill) · h-control (control) · h-bar (bar); the named form of h-(--era-h-*).",
|
|
1067
1066
|
"description": "",
|
|
1068
|
-
"css": "@utility h-
|
|
1067
|
+
"css": "@utility h-icon {\n\theight: var(--era-h-icon);\n}\n@utility h-pill {\n\theight: var(--era-h-pill);\n}\n@utility h-chip {\n\theight: var(--era-h-chip);\n}\n@utility h-control {\n\theight: var(--era-h-control);\n}\n@utility h-bar {\n\theight: var(--era-h-bar);\n}"
|
|
1069
1068
|
},
|
|
1070
1069
|
{
|
|
1071
|
-
"name": "min-h-
|
|
1070
|
+
"name": "min-h-icon",
|
|
1072
1071
|
"names": [
|
|
1073
|
-
"min-h-
|
|
1074
|
-
"min-h-
|
|
1075
|
-
"min-h-
|
|
1076
|
-
"min-h-
|
|
1077
|
-
"min-h-
|
|
1072
|
+
"min-h-icon",
|
|
1073
|
+
"min-h-pill",
|
|
1074
|
+
"min-h-chip",
|
|
1075
|
+
"min-h-control",
|
|
1076
|
+
"min-h-bar"
|
|
1078
1077
|
],
|
|
1079
1078
|
"file": "index.css",
|
|
1080
|
-
"useCase": "minimum tier height for containers that may grow — a bar that is at least lg-tier but can wrap (min-h-
|
|
1079
|
+
"useCase": "minimum tier height for containers that may grow — a bar that is at least lg-tier but can wrap (min-h-bar).",
|
|
1081
1080
|
"description": "",
|
|
1082
|
-
"css": "@utility min-h-
|
|
1081
|
+
"css": "@utility min-h-icon {\n\tmin-height: var(--era-h-icon);\n}\n@utility min-h-pill {\n\tmin-height: var(--era-h-pill);\n}\n@utility min-h-chip {\n\tmin-height: var(--era-h-chip);\n}\n@utility min-h-control {\n\tmin-height: var(--era-h-control);\n}\n@utility min-h-bar {\n\tmin-height: var(--era-h-bar);\n}"
|
|
1083
1082
|
},
|
|
1084
1083
|
{
|
|
1085
|
-
"name": "size-
|
|
1084
|
+
"name": "size-icon",
|
|
1086
1085
|
"names": [
|
|
1087
|
-
"size-
|
|
1088
|
-
"size-
|
|
1089
|
-
"size-
|
|
1090
|
-
"size-
|
|
1091
|
-
"size-
|
|
1086
|
+
"size-icon",
|
|
1087
|
+
"size-pill",
|
|
1088
|
+
"size-chip",
|
|
1089
|
+
"size-control",
|
|
1090
|
+
"size-bar"
|
|
1092
1091
|
],
|
|
1093
1092
|
"file": "index.css",
|
|
1094
|
-
"useCase": "a tier-sized square — size-
|
|
1093
|
+
"useCase": "a tier-sized square — size-icon is THE icon size (a Lucide glyph beside body text), size-control a square control face.",
|
|
1095
1094
|
"description": "",
|
|
1096
|
-
"css": "@utility size-
|
|
1097
|
-
},
|
|
1098
|
-
{
|
|
1099
|
-
"name": "px-sm",
|
|
1100
|
-
"names": [
|
|
1101
|
-
"px-sm",
|
|
1102
|
-
"px-md",
|
|
1103
|
-
"px-lg"
|
|
1104
|
-
],
|
|
1105
|
-
"file": "index.css",
|
|
1106
|
-
"useCase": "tier-to-tier nesting padding (sp/2) — the horizontal padding of a bar or row that holds tiered controls; the named form of px-(--era-px-*).",
|
|
1107
|
-
"description": "",
|
|
1108
|
-
"css": "@utility px-sm {\n\tpadding-inline: var(--era-px-sm);\n}\n@utility px-md {\n\tpadding-inline: var(--era-px-md);\n}\n@utility px-lg {\n\tpadding-inline: var(--era-px-lg);\n}"
|
|
1095
|
+
"css": "@utility size-icon {\n\twidth: var(--era-h-icon);\n\theight: var(--era-h-icon);\n}\n@utility size-pill {\n\twidth: var(--era-h-pill);\n\theight: var(--era-h-pill);\n}\n@utility size-chip {\n\twidth: var(--era-h-chip);\n\theight: var(--era-h-chip);\n}\n@utility size-control {\n\twidth: var(--era-h-control);\n\theight: var(--era-h-control);\n}\n@utility size-bar {\n\twidth: var(--era-h-bar);\n\theight: var(--era-h-bar);\n}"
|
|
1109
1096
|
},
|
|
1110
1097
|
{
|
|
1111
1098
|
"name": "gap-gutter",
|
|
@@ -1121,33 +1108,33 @@
|
|
|
1121
1108
|
"css": "@utility gap-gutter {\n\tgap: var(--era-gap);\n}\n@utility p-gutter {\n\tpadding: var(--era-gap);\n}\n@utility px-gutter {\n\tpadding-inline: var(--era-gap);\n}\n@utility py-gutter {\n\tpadding-block: var(--era-gap);\n}"
|
|
1122
1109
|
},
|
|
1123
1110
|
{
|
|
1124
|
-
"name": "p-inset-
|
|
1111
|
+
"name": "p-inset-pill",
|
|
1125
1112
|
"names": [
|
|
1126
|
-
"p-inset-
|
|
1127
|
-
"p-inset-
|
|
1128
|
-
"p-inset-
|
|
1129
|
-
"px-inset-
|
|
1130
|
-
"px-inset-
|
|
1131
|
-
"px-inset-
|
|
1132
|
-
"py-inset-
|
|
1133
|
-
"py-inset-
|
|
1134
|
-
"py-inset-
|
|
1113
|
+
"p-inset-pill",
|
|
1114
|
+
"p-inset-chip",
|
|
1115
|
+
"p-inset-control",
|
|
1116
|
+
"px-inset-pill",
|
|
1117
|
+
"px-inset-chip",
|
|
1118
|
+
"px-inset-control",
|
|
1119
|
+
"py-inset-pill",
|
|
1120
|
+
"py-inset-chip",
|
|
1121
|
+
"py-inset-control"
|
|
1135
1122
|
],
|
|
1136
1123
|
"file": "index.css",
|
|
1137
|
-
"useCase": "text-symmetric content padding — (tier − text)/2, the inset that vertically centers body text in its tier; px-inset-
|
|
1124
|
+
"useCase": "text-symmetric content padding — (tier − text)/2, the inset that vertically centers body text in its tier; px-inset-control is a text button's side padding, p-inset-control a code block's.",
|
|
1138
1125
|
"description": "",
|
|
1139
|
-
"css": "@utility p-inset-
|
|
1126
|
+
"css": "@utility p-inset-pill {\n\tpadding: var(--era-inset-pill);\n}\n@utility p-inset-chip {\n\tpadding: var(--era-inset-chip);\n}\n@utility p-inset-control {\n\tpadding: var(--era-inset-control);\n}\n@utility px-inset-pill {\n\tpadding-inline: var(--era-inset-pill);\n}\n@utility px-inset-chip {\n\tpadding-inline: var(--era-inset-chip);\n}\n@utility px-inset-control {\n\tpadding-inline: var(--era-inset-control);\n}\n@utility py-inset-pill {\n\tpadding-block: var(--era-inset-pill);\n}\n@utility py-inset-chip {\n\tpadding-block: var(--era-inset-chip);\n}\n@utility py-inset-control {\n\tpadding-block: var(--era-inset-control);\n}"
|
|
1140
1127
|
},
|
|
1141
1128
|
{
|
|
1142
|
-
"name": "px-pill
|
|
1129
|
+
"name": "px-pill",
|
|
1143
1130
|
"names": [
|
|
1144
|
-
"px-pill
|
|
1145
|
-
"px-
|
|
1131
|
+
"px-pill",
|
|
1132
|
+
"px-chip"
|
|
1146
1133
|
],
|
|
1147
1134
|
"file": "index.css",
|
|
1148
1135
|
"useCase": "pill side padding — the wider-than-vertical horizontal breathing room badge/chip text wants (glyph-advance derived, ~2× the vertical inset).",
|
|
1149
1136
|
"description": "",
|
|
1150
|
-
"css": "@utility px-pill
|
|
1137
|
+
"css": "@utility px-pill {\n\tpadding-inline: var(--era-pill-px);\n}\n@utility px-chip {\n\tpadding-inline: var(--era-chip-px);\n}"
|
|
1151
1138
|
},
|
|
1152
1139
|
{
|
|
1153
1140
|
"name": "px-field",
|
|
@@ -1155,7 +1142,7 @@
|
|
|
1155
1142
|
"px-field"
|
|
1156
1143
|
],
|
|
1157
1144
|
"file": "index.css",
|
|
1158
|
-
"useCase": "text-field side padding — where typed text starts in
|
|
1145
|
+
"useCase": "text-field side padding — where typed text starts in a control-tier input; the named form of px-(--era-field-px).",
|
|
1159
1146
|
"description": "",
|
|
1160
1147
|
"css": "@utility px-field {\n\tpadding-inline: var(--era-field-px);\n}"
|
|
1161
1148
|
},
|
|
@@ -1168,7 +1155,7 @@
|
|
|
1168
1155
|
"file": "index.css",
|
|
1169
1156
|
"useCase": "optical padding for unbounded containers — p-panel for compact shells and menu-adjacent chrome, p-card for cards/dialogs/popovers, p-content for full content panels. Grows super-linearly with density so whitespace holds its perceived share as controls loosen.",
|
|
1170
1157
|
"description": "",
|
|
1171
|
-
"css": "@utility p-panel {\n\tpadding: var(--era-pad-
|
|
1158
|
+
"css": "@utility p-panel {\n\tpadding: var(--era-pad-panel);\n}\n@utility p-card {\n\tpadding: var(--era-pad-card);\n}"
|
|
1172
1159
|
},
|
|
1173
1160
|
{
|
|
1174
1161
|
"name": "p-content",
|
|
@@ -1176,8 +1163,8 @@
|
|
|
1176
1163
|
"p-content"
|
|
1177
1164
|
],
|
|
1178
1165
|
"file": "index.css",
|
|
1179
|
-
"description": "A content panel always follows a section header ROW, and that row already\ncontributes its own slack: the heading's text sits in an h-
|
|
1180
|
-
"css": "@utility p-content {\n\tpadding: var(--era-content-p);\n\tpadding-top: max(0px, calc(var(--era-content-p) - (var(--era-h-
|
|
1166
|
+
"description": "A content panel always follows a section header ROW, and that row already\ncontributes its own slack: the heading's text sits in an h-bar bar, so there\nis (h-bar − text)/2 of empty bar under its glyphs before the panel even\nstarts. Padding the panel evenly on top of that spends the space twice — the\nheader ends up floating between the section above and the paragraph it\nintroduces rather than binding to it.\n\nSo the block-start pays only the REMAINDER. The target is the indent: the\nspace under a heading should measure the same as the space beside the text,\nwhich is --era-content-p. The header row already supplies (h-bar − text)/2 of\nit, so the panel adds what's left, and heading-to-paragraph reads equal to\nthe paragraph's own inset. Subtracting one --era-gap (the previous rule) left\nthe header's slack unaccounted for and the heading still detached.\n\nBoth terms are density-derived, so the equality holds at every mode; the\nmax() is the floor for a hypothetical mode where the row's slack would\nexceed the inset outright.",
|
|
1167
|
+
"css": "@utility p-content {\n\tpadding: var(--era-content-p);\n\tpadding-top: max(0px, calc(var(--era-content-p) - (var(--era-h-bar) - var(--era-text)) / 2));\n}"
|
|
1181
1168
|
},
|
|
1182
1169
|
{
|
|
1183
1170
|
"name": "p-menu",
|
|
@@ -1185,7 +1172,7 @@
|
|
|
1185
1172
|
"p-menu"
|
|
1186
1173
|
],
|
|
1187
1174
|
"file": "index.css",
|
|
1188
|
-
"useCase": "menu-panel padding — the surface-owned inset (0 on flat, 2px on glass/bevel) that keeps row highlights inside a floating panel's frame; pairs with rounded-item on the rows.",
|
|
1175
|
+
"useCase": "menu-panel padding — the surface-owned inset (0 on flat, 2px on glass/bevel) that keeps row highlights inside a floating panel's frame; pairs with rounded-menu-item on the rows.",
|
|
1189
1176
|
"description": "",
|
|
1190
1177
|
"css": "@utility p-menu {\n\tpadding: var(--era-panel-inset);\n}"
|
|
1191
1178
|
},
|
|
@@ -92,58 +92,46 @@
|
|
|
92
92
|
"css": "@utility era-collapse {\n\toverflow: hidden;\n\t&[data-state='open'] {\n\t\tanimation: era-collapse-open var(--era-duration) var(--era-ease);\n\t}\n\t&[data-state='closed'] {\n\t\tanimation: era-collapse-close var(--era-duration) var(--era-ease);\n\t}\n}"
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
|
-
"name": "h-
|
|
95
|
+
"name": "h-icon",
|
|
96
96
|
"names": [
|
|
97
|
-
"h-
|
|
98
|
-
"h-
|
|
99
|
-
"h-
|
|
100
|
-
"h-
|
|
101
|
-
"h-
|
|
97
|
+
"h-icon",
|
|
98
|
+
"h-pill",
|
|
99
|
+
"h-chip",
|
|
100
|
+
"h-control",
|
|
101
|
+
"h-bar"
|
|
102
102
|
],
|
|
103
103
|
"file": "index.css",
|
|
104
|
-
"useCase": "the tier-height ladder — h-
|
|
104
|
+
"useCase": "the tier-height ladder — h-icon (icon) · h-pill (nested pill) · h-chip (standalone pill) · h-control (control) · h-bar (bar); the named form of h-(--era-h-*).",
|
|
105
105
|
"description": "",
|
|
106
|
-
"css": "@utility h-
|
|
106
|
+
"css": "@utility h-icon {\n\theight: var(--era-h-icon);\n}\n@utility h-pill {\n\theight: var(--era-h-pill);\n}\n@utility h-chip {\n\theight: var(--era-h-chip);\n}\n@utility h-control {\n\theight: var(--era-h-control);\n}\n@utility h-bar {\n\theight: var(--era-h-bar);\n}"
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
|
-
"name": "min-h-
|
|
109
|
+
"name": "min-h-icon",
|
|
110
110
|
"names": [
|
|
111
|
-
"min-h-
|
|
112
|
-
"min-h-
|
|
113
|
-
"min-h-
|
|
114
|
-
"min-h-
|
|
115
|
-
"min-h-
|
|
111
|
+
"min-h-icon",
|
|
112
|
+
"min-h-pill",
|
|
113
|
+
"min-h-chip",
|
|
114
|
+
"min-h-control",
|
|
115
|
+
"min-h-bar"
|
|
116
116
|
],
|
|
117
117
|
"file": "index.css",
|
|
118
|
-
"useCase": "minimum tier height for containers that may grow — a bar that is at least lg-tier but can wrap (min-h-
|
|
118
|
+
"useCase": "minimum tier height for containers that may grow — a bar that is at least lg-tier but can wrap (min-h-bar).",
|
|
119
119
|
"description": "",
|
|
120
|
-
"css": "@utility min-h-
|
|
120
|
+
"css": "@utility min-h-icon {\n\tmin-height: var(--era-h-icon);\n}\n@utility min-h-pill {\n\tmin-height: var(--era-h-pill);\n}\n@utility min-h-chip {\n\tmin-height: var(--era-h-chip);\n}\n@utility min-h-control {\n\tmin-height: var(--era-h-control);\n}\n@utility min-h-bar {\n\tmin-height: var(--era-h-bar);\n}"
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
|
-
"name": "size-
|
|
123
|
+
"name": "size-icon",
|
|
124
124
|
"names": [
|
|
125
|
-
"size-
|
|
126
|
-
"size-
|
|
127
|
-
"size-
|
|
128
|
-
"size-
|
|
129
|
-
"size-
|
|
125
|
+
"size-icon",
|
|
126
|
+
"size-pill",
|
|
127
|
+
"size-chip",
|
|
128
|
+
"size-control",
|
|
129
|
+
"size-bar"
|
|
130
130
|
],
|
|
131
131
|
"file": "index.css",
|
|
132
|
-
"useCase": "a tier-sized square — size-
|
|
132
|
+
"useCase": "a tier-sized square — size-icon is THE icon size (a Lucide glyph beside body text), size-control a square control face.",
|
|
133
133
|
"description": "",
|
|
134
|
-
"css": "@utility size-
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"name": "px-sm",
|
|
138
|
-
"names": [
|
|
139
|
-
"px-sm",
|
|
140
|
-
"px-md",
|
|
141
|
-
"px-lg"
|
|
142
|
-
],
|
|
143
|
-
"file": "index.css",
|
|
144
|
-
"useCase": "tier-to-tier nesting padding (sp/2) — the horizontal padding of a bar or row that holds tiered controls; the named form of px-(--era-px-*).",
|
|
145
|
-
"description": "",
|
|
146
|
-
"css": "@utility px-sm {\n\tpadding-inline: var(--era-px-sm);\n}\n@utility px-md {\n\tpadding-inline: var(--era-px-md);\n}\n@utility px-lg {\n\tpadding-inline: var(--era-px-lg);\n}"
|
|
134
|
+
"css": "@utility size-icon {\n\twidth: var(--era-h-icon);\n\theight: var(--era-h-icon);\n}\n@utility size-pill {\n\twidth: var(--era-h-pill);\n\theight: var(--era-h-pill);\n}\n@utility size-chip {\n\twidth: var(--era-h-chip);\n\theight: var(--era-h-chip);\n}\n@utility size-control {\n\twidth: var(--era-h-control);\n\theight: var(--era-h-control);\n}\n@utility size-bar {\n\twidth: var(--era-h-bar);\n\theight: var(--era-h-bar);\n}"
|
|
147
135
|
},
|
|
148
136
|
{
|
|
149
137
|
"name": "gap-gutter",
|
|
@@ -159,33 +147,33 @@
|
|
|
159
147
|
"css": "@utility gap-gutter {\n\tgap: var(--era-gap);\n}\n@utility p-gutter {\n\tpadding: var(--era-gap);\n}\n@utility px-gutter {\n\tpadding-inline: var(--era-gap);\n}\n@utility py-gutter {\n\tpadding-block: var(--era-gap);\n}"
|
|
160
148
|
},
|
|
161
149
|
{
|
|
162
|
-
"name": "p-inset-
|
|
150
|
+
"name": "p-inset-pill",
|
|
163
151
|
"names": [
|
|
164
|
-
"p-inset-
|
|
165
|
-
"p-inset-
|
|
166
|
-
"p-inset-
|
|
167
|
-
"px-inset-
|
|
168
|
-
"px-inset-
|
|
169
|
-
"px-inset-
|
|
170
|
-
"py-inset-
|
|
171
|
-
"py-inset-
|
|
172
|
-
"py-inset-
|
|
152
|
+
"p-inset-pill",
|
|
153
|
+
"p-inset-chip",
|
|
154
|
+
"p-inset-control",
|
|
155
|
+
"px-inset-pill",
|
|
156
|
+
"px-inset-chip",
|
|
157
|
+
"px-inset-control",
|
|
158
|
+
"py-inset-pill",
|
|
159
|
+
"py-inset-chip",
|
|
160
|
+
"py-inset-control"
|
|
173
161
|
],
|
|
174
162
|
"file": "index.css",
|
|
175
|
-
"useCase": "text-symmetric content padding — (tier − text)/2, the inset that vertically centers body text in its tier; px-inset-
|
|
163
|
+
"useCase": "text-symmetric content padding — (tier − text)/2, the inset that vertically centers body text in its tier; px-inset-control is a text button's side padding, p-inset-control a code block's.",
|
|
176
164
|
"description": "",
|
|
177
|
-
"css": "@utility p-inset-
|
|
165
|
+
"css": "@utility p-inset-pill {\n\tpadding: var(--era-inset-pill);\n}\n@utility p-inset-chip {\n\tpadding: var(--era-inset-chip);\n}\n@utility p-inset-control {\n\tpadding: var(--era-inset-control);\n}\n@utility px-inset-pill {\n\tpadding-inline: var(--era-inset-pill);\n}\n@utility px-inset-chip {\n\tpadding-inline: var(--era-inset-chip);\n}\n@utility px-inset-control {\n\tpadding-inline: var(--era-inset-control);\n}\n@utility py-inset-pill {\n\tpadding-block: var(--era-inset-pill);\n}\n@utility py-inset-chip {\n\tpadding-block: var(--era-inset-chip);\n}\n@utility py-inset-control {\n\tpadding-block: var(--era-inset-control);\n}"
|
|
178
166
|
},
|
|
179
167
|
{
|
|
180
|
-
"name": "px-pill
|
|
168
|
+
"name": "px-pill",
|
|
181
169
|
"names": [
|
|
182
|
-
"px-pill
|
|
183
|
-
"px-
|
|
170
|
+
"px-pill",
|
|
171
|
+
"px-chip"
|
|
184
172
|
],
|
|
185
173
|
"file": "index.css",
|
|
186
174
|
"useCase": "pill side padding — the wider-than-vertical horizontal breathing room badge/chip text wants (glyph-advance derived, ~2× the vertical inset).",
|
|
187
175
|
"description": "",
|
|
188
|
-
"css": "@utility px-pill
|
|
176
|
+
"css": "@utility px-pill {\n\tpadding-inline: var(--era-pill-px);\n}\n@utility px-chip {\n\tpadding-inline: var(--era-chip-px);\n}"
|
|
189
177
|
},
|
|
190
178
|
{
|
|
191
179
|
"name": "px-field",
|
|
@@ -193,7 +181,7 @@
|
|
|
193
181
|
"px-field"
|
|
194
182
|
],
|
|
195
183
|
"file": "index.css",
|
|
196
|
-
"useCase": "text-field side padding — where typed text starts in
|
|
184
|
+
"useCase": "text-field side padding — where typed text starts in a control-tier input; the named form of px-(--era-field-px).",
|
|
197
185
|
"description": "",
|
|
198
186
|
"css": "@utility px-field {\n\tpadding-inline: var(--era-field-px);\n}"
|
|
199
187
|
},
|
|
@@ -206,7 +194,7 @@
|
|
|
206
194
|
"file": "index.css",
|
|
207
195
|
"useCase": "optical padding for unbounded containers — p-panel for compact shells and menu-adjacent chrome, p-card for cards/dialogs/popovers, p-content for full content panels. Grows super-linearly with density so whitespace holds its perceived share as controls loosen.",
|
|
208
196
|
"description": "",
|
|
209
|
-
"css": "@utility p-panel {\n\tpadding: var(--era-pad-
|
|
197
|
+
"css": "@utility p-panel {\n\tpadding: var(--era-pad-panel);\n}\n@utility p-card {\n\tpadding: var(--era-pad-card);\n}"
|
|
210
198
|
},
|
|
211
199
|
{
|
|
212
200
|
"name": "p-content",
|
|
@@ -214,8 +202,8 @@
|
|
|
214
202
|
"p-content"
|
|
215
203
|
],
|
|
216
204
|
"file": "index.css",
|
|
217
|
-
"description": "A content panel always follows a section header ROW, and that row already\ncontributes its own slack: the heading's text sits in an h-
|
|
218
|
-
"css": "@utility p-content {\n\tpadding: var(--era-content-p);\n\tpadding-top: max(0px, calc(var(--era-content-p) - (var(--era-h-
|
|
205
|
+
"description": "A content panel always follows a section header ROW, and that row already\ncontributes its own slack: the heading's text sits in an h-bar bar, so there\nis (h-bar − text)/2 of empty bar under its glyphs before the panel even\nstarts. Padding the panel evenly on top of that spends the space twice — the\nheader ends up floating between the section above and the paragraph it\nintroduces rather than binding to it.\n\nSo the block-start pays only the REMAINDER. The target is the indent: the\nspace under a heading should measure the same as the space beside the text,\nwhich is --era-content-p. The header row already supplies (h-bar − text)/2 of\nit, so the panel adds what's left, and heading-to-paragraph reads equal to\nthe paragraph's own inset. Subtracting one --era-gap (the previous rule) left\nthe header's slack unaccounted for and the heading still detached.\n\nBoth terms are density-derived, so the equality holds at every mode; the\nmax() is the floor for a hypothetical mode where the row's slack would\nexceed the inset outright.",
|
|
206
|
+
"css": "@utility p-content {\n\tpadding: var(--era-content-p);\n\tpadding-top: max(0px, calc(var(--era-content-p) - (var(--era-h-bar) - var(--era-text)) / 2));\n}"
|
|
219
207
|
},
|
|
220
208
|
{
|
|
221
209
|
"name": "p-menu",
|
|
@@ -223,7 +211,7 @@
|
|
|
223
211
|
"p-menu"
|
|
224
212
|
],
|
|
225
213
|
"file": "index.css",
|
|
226
|
-
"useCase": "menu-panel padding — the surface-owned inset (0 on flat, 2px on glass/bevel) that keeps row highlights inside a floating panel's frame; pairs with rounded-item on the rows.",
|
|
214
|
+
"useCase": "menu-panel padding — the surface-owned inset (0 on flat, 2px on glass/bevel) that keeps row highlights inside a floating panel's frame; pairs with rounded-menu-item on the rows.",
|
|
227
215
|
"description": "",
|
|
228
216
|
"css": "@utility p-menu {\n\tpadding: var(--era-panel-inset);\n}"
|
|
229
217
|
},
|