@inkra/react 0.3.0 → 0.5.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 +113 -3
- package/dist/Button.js +3 -2
- package/dist/PencilIcon.d.ts +10 -0
- package/dist/PencilIcon.js +83 -39
- package/dist/PencilLine.js +9 -1
- package/dist/PencilText.js +15 -9
- package/dist/accordion/Accordion.js +65 -5
- package/dist/alert-dialog/index.js +14 -4
- package/dist/audio-player/index.d.ts +2 -0
- package/dist/audio-player/index.js +131 -34
- package/dist/breadcrumb/index.js +4 -1
- package/dist/calendar/index.d.ts +4 -1
- package/dist/calendar/index.js +37 -12
- package/dist/calendar/locales.d.ts +7 -0
- package/dist/calendar/locales.js +2 -0
- package/dist/carousel/index.js +20 -10
- package/dist/choice-grid/index.d.ts +6 -1
- package/dist/choice-grid/index.js +63 -33
- package/dist/color-picker/GradientEditor.d.ts +40 -0
- package/dist/color-picker/GradientEditor.js +64 -0
- package/dist/color-picker/gradient.d.ts +25 -0
- package/dist/color-picker/gradient.js +60 -0
- package/dist/color-picker/index.d.ts +27 -7
- package/dist/color-picker/index.js +144 -40
- package/dist/color-swatch/index.d.ts +10 -0
- package/dist/color-swatch/index.js +9 -0
- package/dist/command/index.js +27 -4
- package/dist/content/index.d.ts +5 -0
- package/dist/content/index.js +15 -3
- package/dist/context-menu/index.js +1 -1
- package/dist/data-table/index.d.ts +7 -1
- package/dist/data-table/index.js +67 -16
- package/dist/data-table/model.d.ts +2 -0
- package/dist/data-table/model.js +7 -0
- package/dist/date-picker/index.d.ts +2 -0
- package/dist/date-picker/index.js +20 -21
- package/dist/day-agenda/index.d.ts +6 -1
- package/dist/day-agenda/index.js +49 -21
- package/dist/day-agenda/layout.js +65 -9
- package/dist/display/ProgressRing.js +7 -3
- package/dist/display/index.d.ts +4 -1
- package/dist/display/index.js +3 -2
- package/dist/dockable-panel/index.js +15 -13
- package/dist/drawer/index.js +11 -5
- package/dist/editable/index.d.ts +24 -2
- package/dist/editable/index.js +148 -40
- package/dist/empty/illustrations.d.ts +8 -0
- package/dist/empty/illustrations.js +78 -0
- package/dist/empty/index.d.ts +6 -1
- package/dist/empty/index.js +11 -3
- package/dist/flip/index.js +28 -8
- package/dist/form/Field.js +11 -10
- package/dist/form/Input.js +4 -1
- package/dist/form/Textarea.d.ts +3 -1
- package/dist/form/Textarea.js +9 -5
- package/dist/heatmap/index.js +4 -1
- package/dist/hotkey/index.d.ts +1 -0
- package/dist/hotkey/index.js +9 -4
- package/dist/hover-card/index.js +1 -1
- package/dist/i18n/catalog.d.ts +5 -0
- package/dist/i18n/catalog.js +289 -0
- package/dist/i18n/index.d.ts +23 -0
- package/dist/i18n/index.js +50 -0
- package/dist/image-cropper/index.js +21 -17
- package/dist/image-viewer/VideoResource.d.ts +21 -0
- package/dist/image-viewer/VideoResource.js +196 -0
- package/dist/image-viewer/index.d.ts +14 -0
- package/dist/image-viewer/index.js +141 -86
- package/dist/image-viewer/lucideGeometry.d.ts +3 -0
- package/dist/image-viewer/lucideGeometry.js +19 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/input-number/index.js +13 -5
- package/dist/internal/cache.d.ts +4 -0
- package/dist/internal/cache.js +18 -1
- package/dist/internal/iconGeometry.d.ts +2 -0
- package/dist/internal/iconGeometry.js +32 -0
- package/dist/internal/renderTokens.d.ts +4 -0
- package/dist/internal/renderTokens.js +4 -0
- package/dist/internal/stroke.d.ts +7 -0
- package/dist/internal/stroke.js +63 -7
- package/dist/internal/surfaceBudget.d.ts +20 -0
- package/dist/internal/surfaceBudget.js +69 -0
- package/dist/internal/surfaceRenderer.js +87 -28
- package/dist/internal/surfaceVisibility.d.ts +3 -0
- package/dist/internal/surfaceVisibility.js +60 -0
- package/dist/internal/textRenderer.d.ts +3 -0
- package/dist/internal/textRenderer.js +13 -5
- package/dist/internal/usePencilSurface.js +17 -1
- package/dist/internal/wash.js +4 -3
- package/dist/journey-map/index.d.ts +1 -1
- package/dist/journey-map/index.js +6 -3
- package/dist/journey-map/terrain.js +10 -5
- package/dist/keypad/index.js +4 -1
- package/dist/layout/index.js +1 -1
- package/dist/log/index.js +42 -33
- package/dist/markdown/CodeBlock.d.ts +19 -0
- package/dist/markdown/CodeBlock.js +86 -0
- package/dist/markdown/Deletion.d.ts +2 -0
- package/dist/markdown/Deletion.js +69 -0
- package/dist/markdown/icons.d.ts +14 -0
- package/dist/markdown/icons.js +16 -0
- package/dist/markdown/index.d.ts +17 -0
- package/dist/markdown/index.js +177 -0
- package/dist/node-graph/index.d.ts +3 -1
- package/dist/node-graph/index.js +63 -28
- package/dist/number-ticker/index.js +4 -1
- package/dist/number-ticker/precision.js +9 -2
- package/dist/overflow-list/index.js +9 -6
- package/dist/overlay/Overlay.js +8 -3
- package/dist/overlay/Popover.js +3 -3
- package/dist/overlay/themeBridge.js +14 -2
- package/dist/pagination/index.d.ts +10 -1
- package/dist/pagination/index.js +13 -9
- package/dist/pan-zoom/index.d.ts +2 -0
- package/dist/pan-zoom/index.js +12 -8
- package/dist/pencil.d.ts +1 -0
- package/dist/pencil.js +4 -4
- package/dist/radar/index.d.ts +2 -0
- package/dist/radar/index.js +44 -21
- package/dist/range-slider/index.js +4 -3
- package/dist/rating/index.d.ts +4 -0
- package/dist/rating/index.js +131 -24
- package/dist/resizable/index.d.ts +1 -1
- package/dist/resizable/index.js +5 -2
- package/dist/scroll-area/index.d.ts +1 -1
- package/dist/scroll-area/index.js +5 -2
- package/dist/select/MultipleSelect.js +5 -4
- package/dist/select/SearchableSelect.js +64 -7
- package/dist/select/Select.d.ts +1 -0
- package/dist/select/Select.js +6 -2
- package/dist/select/StepperSelect.d.ts +29 -0
- package/dist/select/StepperSelect.js +122 -0
- package/dist/select/index.d.ts +2 -0
- package/dist/select/index.js +1 -0
- package/dist/select/stepperModel.d.ts +7 -0
- package/dist/select/stepperModel.js +29 -0
- package/dist/selection/Checkbox.js +4 -3
- package/dist/selection/RadioGroup.js +29 -13
- package/dist/selection/Switch.js +4 -3
- package/dist/selection/useNativeChecked.d.ts +2 -1
- package/dist/selection/useNativeChecked.js +26 -8
- package/dist/slider/index.js +50 -6
- package/dist/sortable/index.js +17 -11
- package/dist/sparkline/index.js +21 -6
- package/dist/sparkline/model.js +11 -4
- package/dist/steps/index.js +4 -1
- package/dist/styles/accordion.css +228 -0
- package/dist/styles/alert-dialog.css +139 -0
- package/dist/styles/audio-player.css +22 -0
- package/dist/styles/base.css +638 -0
- package/dist/styles/breadcrumb.css +7 -0
- package/dist/styles/calendar.css +62 -0
- package/dist/styles/carousel.css +173 -0
- package/dist/styles/choice-grid.css +226 -0
- package/dist/styles/color-picker.css +281 -0
- package/dist/styles/color-swatch.css +47 -0
- package/dist/styles/command.css +52 -0
- package/dist/styles/content.css +79 -0
- package/dist/styles/context-menu.css +35 -0
- package/dist/styles/data-table.css +31 -0
- package/dist/styles/date-picker.css +107 -0
- package/dist/styles/day-agenda.css +30 -0
- package/dist/styles/display.css +304 -0
- package/dist/styles/dockable-panel.css +110 -0
- package/dist/styles/drawer.css +133 -0
- package/dist/styles/dropdown-menu.css +68 -0
- package/dist/styles/editable.css +145 -0
- package/dist/styles/empty.css +108 -0
- package/dist/styles/flip.css +101 -0
- package/dist/styles/form.css +634 -0
- package/dist/styles/heatmap.css +256 -0
- package/dist/styles/hotkey.css +189 -0
- package/dist/styles/hover-card.css +27 -0
- package/dist/styles/image-cropper.css +205 -0
- package/dist/styles/image-viewer.css +422 -0
- package/dist/styles/input-number.css +21 -0
- package/dist/styles/journey-map.css +19 -0
- package/dist/styles/keypad.css +92 -0
- package/dist/styles/layout.css +72 -0
- package/dist/styles/leaflet.css +661 -0
- package/dist/styles/log.css +203 -0
- package/dist/styles/markdown.css +379 -0
- package/dist/styles/node-graph.css +142 -0
- package/dist/styles/number-ticker.css +83 -0
- package/dist/styles/overflow-list.css +51 -0
- package/dist/styles/overlay.css +284 -0
- package/dist/styles/pagination.css +21 -0
- package/dist/styles/pan-zoom.css +136 -0
- package/dist/styles/radar.css +1 -0
- package/dist/styles/rating.css +121 -0
- package/dist/styles/resizable.css +108 -0
- package/dist/styles/scroll-area.css +122 -0
- package/dist/styles/select.css +554 -0
- package/dist/styles/selection.css +264 -0
- package/dist/styles/slider.css +145 -0
- package/dist/styles/slot.css +109 -0
- package/dist/styles/sortable.css +159 -0
- package/dist/styles/sparkline.css +24 -0
- package/dist/styles/steps.css +27 -0
- package/dist/styles/tabs.css +79 -0
- package/dist/styles/tag-input.css +213 -0
- package/dist/styles/time-picker.css +66 -0
- package/dist/styles/timeline.css +24 -0
- package/dist/styles/toast.css +160 -0
- package/dist/styles/toggle-group.css +107 -0
- package/dist/styles/tooltip.css +78 -0
- package/dist/styles/transfer.css +148 -0
- package/dist/styles/tree-select.css +131 -0
- package/dist/styles/tree.css +59 -0
- package/dist/styles/typewriter.css +62 -0
- package/dist/styles/upload.css +60 -0
- package/dist/styles/virtual-list.css +112 -0
- package/dist/styles.css +2091 -421
- package/dist/tabs/index.d.ts +9 -0
- package/dist/tabs/index.js +69 -16
- package/dist/tabs/useOverflow.d.ts +20 -0
- package/dist/tabs/useOverflow.js +145 -0
- package/dist/tag-input/index.d.ts +7 -2
- package/dist/tag-input/index.js +81 -42
- package/dist/theme/index.d.ts +11 -0
- package/dist/theme/index.js +23 -0
- package/dist/time-picker/index.js +45 -27
- package/dist/timeline/index.js +4 -1
- package/dist/toast/index.d.ts +19 -11
- package/dist/toast/index.js +51 -8
- package/dist/toast/manager.d.ts +42 -0
- package/dist/toast/manager.js +85 -0
- package/dist/toast/useToastNavigation.d.ts +3 -0
- package/dist/toast/useToastNavigation.js +75 -0
- package/dist/tokens.css +4 -0
- package/dist/tooltip/Tooltip.js +3 -3
- package/dist/transfer/index.d.ts +5 -0
- package/dist/transfer/index.js +120 -53
- package/dist/transfer/model.d.ts +4 -0
- package/dist/transfer/model.js +37 -11
- package/dist/tree/index.d.ts +5 -1
- package/dist/tree/index.js +11 -6
- package/dist/tree-select/index.js +70 -31
- package/dist/tree-select/model.d.ts +11 -5
- package/dist/tree-select/model.js +111 -83
- package/dist/typewriter/index.js +10 -10
- package/dist/upload/index.js +50 -33
- package/dist/virtual-list/index.js +11 -6
- package/package.json +423 -3
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
.inkra-node-graph {
|
|
2
|
+
position: relative;
|
|
3
|
+
isolation: isolate;
|
|
4
|
+
inline-size: 100%;
|
|
5
|
+
min-inline-size: 0;
|
|
6
|
+
block-size: min(68vh, 620px);
|
|
7
|
+
min-block-size: 320px;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
color: var(--inkra-ink);
|
|
10
|
+
background: color-mix(in srgb, var(--inkra-paper) 92%, transparent);
|
|
11
|
+
border-radius: var(--inkra-radius-lg);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.inkra-node-graph .react-flow {
|
|
15
|
+
position: relative;
|
|
16
|
+
z-index: 0;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
direction: inherit;
|
|
19
|
+
inline-size: 100%;
|
|
20
|
+
block-size: 100%;
|
|
21
|
+
background: transparent;
|
|
22
|
+
--xy-edge-stroke: var(--inkra-ink-muted);
|
|
23
|
+
--xy-edge-stroke-selected: var(--inkra-accent-strong);
|
|
24
|
+
--xy-connectionline-stroke: var(--inkra-accent-strong);
|
|
25
|
+
--xy-selection-background-color: color-mix(in srgb, var(--inkra-selection-pigment) 13%, transparent);
|
|
26
|
+
--xy-selection-border: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.inkra-node-graph .react-flow__container { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
|
|
30
|
+
.inkra-node-graph .react-flow__pane { z-index: 1; touch-action: none; }
|
|
31
|
+
.inkra-node-graph .react-flow__pane.draggable { cursor: grab; }
|
|
32
|
+
.inkra-node-graph .react-flow__pane.dragging { cursor: grabbing; }
|
|
33
|
+
.inkra-node-graph .react-flow__pane.selection { cursor: pointer; }
|
|
34
|
+
.inkra-node-graph .react-flow__viewport { position: absolute; inset: 0; z-index: 2; transform-origin: 0 0; pointer-events: none; }
|
|
35
|
+
.inkra-node-graph .react-flow__renderer { z-index: 4; }
|
|
36
|
+
.inkra-node-graph .react-flow__edges { position: absolute; }
|
|
37
|
+
.inkra-node-graph .react-flow__edges svg { position: absolute; overflow: visible; pointer-events: none; }
|
|
38
|
+
.inkra-node-graph .react-flow__edge { pointer-events: visibleStroke; }
|
|
39
|
+
.inkra-node-graph .react-flow__edge.selectable { cursor: pointer; }
|
|
40
|
+
.inkra-node-graph .react-flow__edge.inactive { pointer-events: none; }
|
|
41
|
+
.inkra-node-graph .react-flow__edge:focus,
|
|
42
|
+
.inkra-node-graph .react-flow__edge:focus-visible { outline: none; }
|
|
43
|
+
.inkra-node-graph svg.react-flow__connectionline { position: absolute; z-index: 8; overflow: visible; pointer-events: none; }
|
|
44
|
+
.inkra-node-graph .react-flow__nodes { pointer-events: none; transform-origin: 0 0; }
|
|
45
|
+
.inkra-node-graph .react-flow__node { position: absolute; box-sizing: border-box; transform-origin: 0 0; pointer-events: all; user-select: none; }
|
|
46
|
+
.inkra-node-graph .react-flow__node.selectable { cursor: pointer; }
|
|
47
|
+
.inkra-node-graph .react-flow__node.draggable { cursor: grab; }
|
|
48
|
+
.inkra-node-graph .react-flow__node.draggable.dragging { cursor: grabbing; }
|
|
49
|
+
.inkra-node-graph .react-flow__node:focus { outline: none; }
|
|
50
|
+
.inkra-node-graph .react-flow__nodesselection { z-index: 3; transform-origin: left top; pointer-events: none; }
|
|
51
|
+
.inkra-node-graph .react-flow__nodesselection-rect { position: absolute; pointer-events: all; cursor: grab; }
|
|
52
|
+
.inkra-node-graph .react-flow__nodesselection-rect:focus,
|
|
53
|
+
.inkra-node-graph .react-flow__nodesselection-rect:focus-visible { outline: none; }
|
|
54
|
+
.inkra-node-graph .react-flow__selection { z-index: 6; }
|
|
55
|
+
.inkra-node-graph .react-flow__panel { position: absolute; z-index: 7; margin: var(--inkra-space-3); }
|
|
56
|
+
.inkra-node-graph .react-flow__panel.top { inset-block-start: 0; }
|
|
57
|
+
.inkra-node-graph .react-flow__panel.bottom { inset-block-end: 0; }
|
|
58
|
+
.inkra-node-graph .react-flow__panel.left { inset-inline-start: 0; }
|
|
59
|
+
.inkra-node-graph .react-flow__panel.right { inset-inline-end: 0; }
|
|
60
|
+
.inkra-node-graph .react-flow__pane.selection .react-flow__panel { pointer-events: none; }
|
|
61
|
+
.inkra-node-graph .react-flow__selection-rect,
|
|
62
|
+
.inkra-node-graph .react-flow__nodesselection-rect { border: 0; background: color-mix(in srgb, var(--inkra-selection-pigment) 13%, transparent); }
|
|
63
|
+
.inkra-node-graph .react-flow__viewport-portal { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; pointer-events: none; user-select: none; }
|
|
64
|
+
.inkra-node-graph .react-flow__attribution { color: var(--inkra-ink-muted); font-size: 10px; line-height: 1.2; }
|
|
65
|
+
.inkra-node-graph .react-flow__attribution a { color: inherit; }
|
|
66
|
+
|
|
67
|
+
.inkra-node-graph__node-shell { position: relative; min-inline-size: 168px; max-inline-size: min(280px, 72vw); }
|
|
68
|
+
.inkra-node-graph__node-paper { position: relative; min-inline-size: inherit; color: var(--inkra-ink); }
|
|
69
|
+
.inkra-node-graph__node-selection { position: absolute; z-index: -1; inset: 2px; pointer-events: none; }
|
|
70
|
+
.inkra-node-graph__node-content { position: relative; z-index: 1; display: grid; gap: var(--inkra-space-2); padding: var(--inkra-space-4); min-inline-size: 0; }
|
|
71
|
+
.inkra-node-graph__node-label { color: var(--inkra-ink); font-size: var(--inkra-text-md); line-height: var(--inkra-line-ui); overflow-wrap: anywhere; }
|
|
72
|
+
.inkra-node-graph__node-description { color: var(--inkra-ink-muted); font-size: var(--inkra-text-sm); line-height: var(--inkra-line-body); overflow-wrap: anywhere; }
|
|
73
|
+
.inkra-node-graph__node-body { min-inline-size: 0; }
|
|
74
|
+
.inkra-node-graph__node-focus { position: absolute; z-index: 3; inset: -4px; opacity: 0; pointer-events: none; }
|
|
75
|
+
.inkra-node-graph .react-flow__node:focus-visible .inkra-node-graph__node-focus { opacity: 1; }
|
|
76
|
+
|
|
77
|
+
.inkra-node-graph__port.react-flow__handle {
|
|
78
|
+
position: absolute;
|
|
79
|
+
display: grid;
|
|
80
|
+
place-items: center;
|
|
81
|
+
inline-size: var(--inkra-touch-target);
|
|
82
|
+
block-size: var(--inkra-touch-target);
|
|
83
|
+
border: 0;
|
|
84
|
+
background: transparent;
|
|
85
|
+
pointer-events: none;
|
|
86
|
+
transform: translate(-50%, -50%) scale(var(--inkra-node-graph-port-scale, 1));
|
|
87
|
+
z-index: 4;
|
|
88
|
+
}
|
|
89
|
+
.inkra-node-graph__port.react-flow__handle.connectionindicator { pointer-events: all; cursor: crosshair; }
|
|
90
|
+
.inkra-node-graph__port.react-flow__handle-left { inset-inline-start: 0; inset-block-start: 50%; }
|
|
91
|
+
.inkra-node-graph__port.react-flow__handle-right { inset-inline-start: 100%; inset-block-start: 50%; }
|
|
92
|
+
.inkra-node-graph__port.react-flow__handle-top { inset-inline-start: 50%; inset-block-start: 0; }
|
|
93
|
+
.inkra-node-graph__port.react-flow__handle-bottom { inset-inline-start: 50%; inset-block-start: 100%; }
|
|
94
|
+
.inkra-node-graph__port-visual { position: relative; display: grid; place-items: center; inline-size: 18px; block-size: 18px; pointer-events: none; }
|
|
95
|
+
.inkra-node-graph__port-mark,
|
|
96
|
+
.inkra-node-graph__port-feedback { position: absolute; inset: 0; pointer-events: none; }
|
|
97
|
+
.inkra-node-graph__port-feedback { opacity: 0; }
|
|
98
|
+
.inkra-node-graph__port:hover .inkra-node-graph__port-feedback,
|
|
99
|
+
.inkra-node-graph__port.connectingfrom .inkra-node-graph__port-feedback,
|
|
100
|
+
.inkra-node-graph__port.valid .inkra-node-graph__port-feedback { opacity: 1; }
|
|
101
|
+
|
|
102
|
+
.inkra-node-graph__edge-hit { pointer-events: stroke; }
|
|
103
|
+
.inkra-node-graph__edge-pencil { color: var(--inkra-ink-muted); pointer-events: none; }
|
|
104
|
+
.inkra-node-graph__edge-pencil[data-selected] { color: var(--inkra-accent-strong); }
|
|
105
|
+
.inkra-node-graph__edge-measure { stroke: transparent; stroke-width: 1; pointer-events: none; }
|
|
106
|
+
.inkra-node-graph__edge-fallback { stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; vector-effect: non-scaling-stroke; pointer-events: none; }
|
|
107
|
+
.inkra-node-graph__edge-pencil[data-pencil-ready] .inkra-node-graph__edge-fallback { visibility: hidden; }
|
|
108
|
+
.inkra-node-graph__edge-foreign-object { overflow: visible; pointer-events: none; }
|
|
109
|
+
.inkra-node-graph__edge-canvas { display: block; color: inherit; overflow: visible; pointer-events: none; }
|
|
110
|
+
.inkra-node-graph__edge-label { position: absolute; z-index: 5; max-inline-size: 180px; padding: 4px 8px; color: var(--inkra-ink); font-size: var(--inkra-text-sm); line-height: var(--inkra-line-ui); pointer-events: all; overflow-wrap: anywhere; }
|
|
111
|
+
.inkra-node-graph .react-flow__edgelabel-renderer { position: absolute; inset: 0; z-index: 5; inline-size: 100%; block-size: 100%; pointer-events: none; user-select: none; }
|
|
112
|
+
|
|
113
|
+
.inkra-node-graph__controls { display: flex; gap: var(--inkra-space-1); }
|
|
114
|
+
.inkra-node-graph__control { appearance: none; position: relative; display: inline-grid; place-items: center; inline-size: var(--inkra-touch-target); block-size: var(--inkra-touch-target); padding: 0; border: 0; color: var(--inkra-ink); cursor: pointer; }
|
|
115
|
+
.inkra-node-graph__control:focus { outline: none; }
|
|
116
|
+
.inkra-node-graph__control-focus { position: absolute; inset: 2px; opacity: 0; pointer-events: none; }
|
|
117
|
+
.inkra-node-graph__control:focus-visible .inkra-node-graph__control-focus { opacity: 1; }
|
|
118
|
+
|
|
119
|
+
.inkra-node-graph__empty { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; padding: var(--inkra-space-6); color: var(--inkra-ink-muted); text-align: center; pointer-events: none; }
|
|
120
|
+
.inkra-node-graph__ssr { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--inkra-space-5); color: var(--inkra-ink); }
|
|
121
|
+
.inkra-node-graph__ssr ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--inkra-space-3); margin: 0; padding: 0; list-style: none; }
|
|
122
|
+
.inkra-node-graph__ssr li { padding: var(--inkra-space-3) var(--inkra-space-4); }
|
|
123
|
+
|
|
124
|
+
@media (max-width: 390px) {
|
|
125
|
+
.inkra-node-graph { block-size: 440px; min-block-size: 360px; }
|
|
126
|
+
.inkra-node-graph__node-shell { min-inline-size: 144px; max-inline-size: 68vw; }
|
|
127
|
+
.inkra-node-graph__node-content { padding: var(--inkra-space-3); }
|
|
128
|
+
.inkra-node-graph .react-flow__panel { margin: var(--inkra-space-2); }
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@media (prefers-reduced-motion: reduce) {
|
|
132
|
+
.inkra-node-graph * { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@media print, (forced-colors: active) {
|
|
136
|
+
.inkra-node-graph { border: 1px solid CanvasText; background: Canvas; color: CanvasText; }
|
|
137
|
+
.inkra-node-graph__edge-canvas { visibility: hidden; }
|
|
138
|
+
.inkra-node-graph__edge-fallback { visibility: visible !important; stroke: CanvasText; }
|
|
139
|
+
.inkra-node-graph__port-mark { outline: 1px solid CanvasText; outline-offset: -6px; }
|
|
140
|
+
.inkra-node-graph .react-flow__node:focus-visible .inkra-node-graph__node-shell,
|
|
141
|
+
.inkra-node-graph__control:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
|
|
142
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
.inkra-number-ticker {
|
|
2
|
+
color: var(--inkra-ink);
|
|
3
|
+
display: inline-block;
|
|
4
|
+
font-family: var(--inkra-font-hand);
|
|
5
|
+
font-kerning: none;
|
|
6
|
+
font-variant-ligatures: none;
|
|
7
|
+
letter-spacing: 0;
|
|
8
|
+
max-width: 100%;
|
|
9
|
+
position: relative;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.inkra-number-ticker__visual {
|
|
13
|
+
align-items: baseline;
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
gap: var(--inkra-space-1, 4px);
|
|
16
|
+
max-width: 100%;
|
|
17
|
+
white-space: nowrap;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.inkra-number-ticker__value {
|
|
21
|
+
display: inline-grid;
|
|
22
|
+
font-variant-numeric: tabular-nums lining-nums;
|
|
23
|
+
min-width: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.inkra-number-ticker__native-value {
|
|
27
|
+
font: inherit;
|
|
28
|
+
font-family: "Trip Map Hand", "HanziPen SC", "Hannotate SC", "Kaiti SC", "STKaiti", cursive;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.inkra-number-ticker__prefix,
|
|
32
|
+
.inkra-number-ticker__suffix {
|
|
33
|
+
align-items: center;
|
|
34
|
+
align-self: center;
|
|
35
|
+
color: var(--inkra-ink-muted);
|
|
36
|
+
display: inline-flex;
|
|
37
|
+
flex: none;
|
|
38
|
+
gap: var(--inkra-space-1, 4px);
|
|
39
|
+
min-width: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.inkra-number-ticker__delta {
|
|
43
|
+
color: var(--inkra-success-foreground, var(--inkra-ink-muted));
|
|
44
|
+
font-size: .72em;
|
|
45
|
+
line-height: var(--inkra-line-ui, 1.45);
|
|
46
|
+
margin-inline-start: var(--inkra-space-1, 4px);
|
|
47
|
+
white-space: nowrap;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.inkra-number-ticker__delta[data-direction="decrease"] {
|
|
51
|
+
color: var(--inkra-danger-foreground, var(--inkra-danger));
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.inkra-number-ticker__announcement {
|
|
55
|
+
block-size: 1px !important;
|
|
56
|
+
border: 0 !important;
|
|
57
|
+
clip-path: inset(50%) !important;
|
|
58
|
+
inline-size: 1px !important;
|
|
59
|
+
margin: -1px !important;
|
|
60
|
+
overflow: hidden !important;
|
|
61
|
+
padding: 0 !important;
|
|
62
|
+
position: absolute !important;
|
|
63
|
+
white-space: nowrap !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@media (prefers-reduced-motion: reduce) {
|
|
67
|
+
.inkra-number-ticker__delta {
|
|
68
|
+
transition: none;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@media (forced-colors: active) {
|
|
73
|
+
.inkra-number-ticker,
|
|
74
|
+
.inkra-number-ticker__delta {
|
|
75
|
+
color: CanvasText;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@media print {
|
|
80
|
+
.inkra-number-ticker__delta {
|
|
81
|
+
color: currentcolor;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.inkra-overflow-list {
|
|
2
|
+
--inkra-overflow-list-gap: var(--inkra-space-2);
|
|
3
|
+
|
|
4
|
+
align-items: center;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
display: flex;
|
|
7
|
+
gap: var(--inkra-overflow-list-gap);
|
|
8
|
+
inline-size: 100%;
|
|
9
|
+
max-inline-size: 100%;
|
|
10
|
+
min-inline-size: 0;
|
|
11
|
+
overflow: clip;
|
|
12
|
+
overflow-clip-margin: calc(var(--inkra-focus-offset) + var(--inkra-focus-width));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.inkra-overflow-list__item,
|
|
16
|
+
.inkra-overflow-list__trigger {
|
|
17
|
+
flex: 0 0 auto;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.inkra-overflow-list__item {
|
|
21
|
+
align-items: center;
|
|
22
|
+
display: inline-flex;
|
|
23
|
+
max-inline-size: 100%;
|
|
24
|
+
min-inline-size: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.inkra-overflow-list__default-item {
|
|
28
|
+
color: var(--inkra-ink);
|
|
29
|
+
font-family: var(--inkra-font-body);
|
|
30
|
+
font-size: var(--inkra-text-md);
|
|
31
|
+
line-height: var(--inkra-line-ui);
|
|
32
|
+
overflow-wrap: anywhere;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.inkra-overflow-list__trigger .inkra-button__content {
|
|
36
|
+
gap: var(--inkra-space-1);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@media (forced-colors: active) {
|
|
40
|
+
.inkra-overflow-list__trigger:focus-visible {
|
|
41
|
+
outline: var(--inkra-focus-width) solid Highlight;
|
|
42
|
+
outline-offset: var(--inkra-focus-offset);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@media print {
|
|
47
|
+
.inkra-overflow-list {
|
|
48
|
+
flex-wrap: wrap;
|
|
49
|
+
overflow: visible;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
.inkra-portal-theme-bridge {
|
|
2
|
+
display: contents;
|
|
3
|
+
font-family: var(--inkra-font-body);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.inkra-overlay__backdrop {
|
|
7
|
+
animation: inkra-overlay-backdrop-in var(--inkra-motion-normal) var(--inkra-ease) both;
|
|
8
|
+
background: var(--inkra-overlay);
|
|
9
|
+
inset: 0;
|
|
10
|
+
position: fixed;
|
|
11
|
+
z-index: calc(var(--inkra-z-modal, 30) + var(--inkra-floating-layer-offset, 0));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.inkra-overlay__backdrop[data-state="closed"] {
|
|
15
|
+
animation: inkra-overlay-backdrop-out var(--inkra-motion-normal) var(--inkra-ease) both;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.inkra-overlay__content {
|
|
19
|
+
animation: inkra-overlay-content-in var(--inkra-motion-normal) var(--inkra-ease) both;
|
|
20
|
+
inset-block-start: 50%;
|
|
21
|
+
left: 50%;
|
|
22
|
+
max-height: min(80vh, calc(100dvh - var(--inkra-space-8)));
|
|
23
|
+
outline: 0;
|
|
24
|
+
position: fixed;
|
|
25
|
+
transform: translate(-50%, -50%);
|
|
26
|
+
width: min(36rem, calc(100vw - var(--inkra-space-8)));
|
|
27
|
+
z-index: calc(var(--inkra-z-modal, 30) + var(--inkra-floating-layer-offset, 0) + 1);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.inkra-overlay__content[data-state="closed"] {
|
|
31
|
+
animation: inkra-overlay-content-out var(--inkra-motion-normal) var(--inkra-ease) both;
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.inkra-overlay__content:focus-visible,
|
|
36
|
+
.inkra-popover__content:focus-visible {
|
|
37
|
+
outline: var(--inkra-focus-width) solid var(--inkra-focus);
|
|
38
|
+
outline-offset: var(--inkra-focus-offset);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.inkra-overlay__surface {
|
|
42
|
+
color: var(--inkra-ink);
|
|
43
|
+
display: block;
|
|
44
|
+
max-height: inherit;
|
|
45
|
+
width: 100%;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.inkra-overlay__content-body {
|
|
49
|
+
box-sizing: border-box;
|
|
50
|
+
max-height: inherit;
|
|
51
|
+
overflow: auto;
|
|
52
|
+
overscroll-behavior: contain;
|
|
53
|
+
padding: var(--inkra-space-6);
|
|
54
|
+
scrollbar-gutter: stable;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.inkra-overlay__title,
|
|
58
|
+
.inkra-popover__title {
|
|
59
|
+
color: var(--inkra-ink);
|
|
60
|
+
font-family: var(--inkra-font-display);
|
|
61
|
+
font-size: var(--inkra-text-xl);
|
|
62
|
+
font-weight: var(--inkra-weight-regular);
|
|
63
|
+
line-height: var(--inkra-line-ui);
|
|
64
|
+
margin: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.inkra-overlay__content[data-layout="sections"] > .inkra-overlay__surface,
|
|
68
|
+
.inkra-overlay__content[data-layout="sections"] > .inkra-overlay__surface > .inkra-overlay__content-body {
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: column;
|
|
71
|
+
min-height: 0;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.inkra-overlay__content[data-layout="sections"] > .inkra-overlay__surface > .inkra-overlay__content-body {
|
|
75
|
+
overflow: hidden;
|
|
76
|
+
padding: 0;
|
|
77
|
+
scrollbar-gutter: auto;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.inkra-overlay__header,
|
|
81
|
+
.inkra-overlay__footer {
|
|
82
|
+
position: relative;
|
|
83
|
+
display: flex;
|
|
84
|
+
flex: none;
|
|
85
|
+
gap: var(--inkra-space-3);
|
|
86
|
+
padding: var(--inkra-space-5);
|
|
87
|
+
min-width: 0;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.inkra-overlay__header { align-items: flex-start; }
|
|
91
|
+
.inkra-overlay__heading { display: grid; gap: var(--inkra-space-2); flex: 1; min-width: 0; overflow-wrap: anywhere; }
|
|
92
|
+
.inkra-overlay__header-actions { display: flex; flex: none; align-items: center; gap: var(--inkra-space-2); }
|
|
93
|
+
.inkra-overlay__close-button { flex: none; }
|
|
94
|
+
|
|
95
|
+
.inkra-overlay__body {
|
|
96
|
+
flex: 1 1 auto;
|
|
97
|
+
min-height: 0;
|
|
98
|
+
min-width: 0;
|
|
99
|
+
overflow: auto;
|
|
100
|
+
overscroll-behavior: contain;
|
|
101
|
+
scrollbar-gutter: stable;
|
|
102
|
+
padding: var(--inkra-space-5);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.inkra-overlay__footer { align-items: center; flex-wrap: wrap; justify-content: flex-end; }
|
|
106
|
+
.inkra-overlay__footer[data-align="start"] { justify-content: flex-start; }
|
|
107
|
+
.inkra-overlay__footer[data-align="center"] { justify-content: center; }
|
|
108
|
+
.inkra-overlay__footer > .inkra-button { max-width: 100%; }
|
|
109
|
+
|
|
110
|
+
.inkra-overlay__section-divider {
|
|
111
|
+
position: absolute;
|
|
112
|
+
inset-inline: 0;
|
|
113
|
+
width: 100%;
|
|
114
|
+
height: 8px;
|
|
115
|
+
pointer-events: none;
|
|
116
|
+
}
|
|
117
|
+
.inkra-overlay__header > .inkra-overlay__section-divider { bottom: -4px; }
|
|
118
|
+
.inkra-overlay__footer > .inkra-overlay__section-divider { top: -4px; }
|
|
119
|
+
|
|
120
|
+
.inkra-overlay__description,
|
|
121
|
+
.inkra-popover__description {
|
|
122
|
+
color: var(--inkra-ink-muted);
|
|
123
|
+
font-family: var(--inkra-font-body);
|
|
124
|
+
font-size: var(--inkra-text-md);
|
|
125
|
+
line-height: var(--inkra-line-body);
|
|
126
|
+
margin: 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.inkra-popover__content {
|
|
130
|
+
animation: inkra-popover-content-in var(--inkra-motion-normal) var(--inkra-ease) both;
|
|
131
|
+
max-height: min(70dvh, var(--radix-popover-content-available-height, 70dvh));
|
|
132
|
+
max-width: min(24rem, var(--radix-popover-content-available-width, calc(100dvw - var(--inkra-space-6))));
|
|
133
|
+
outline: 0;
|
|
134
|
+
transform-origin: var(--radix-popover-content-transform-origin);
|
|
135
|
+
width: max-content;
|
|
136
|
+
z-index: calc(var(--inkra-z-popover, 20) + var(--inkra-floating-layer-offset, 0));
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.inkra-popover__content[data-state="closed"] {
|
|
140
|
+
animation: inkra-popover-content-out var(--inkra-motion-normal) var(--inkra-ease) both;
|
|
141
|
+
pointer-events: none;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.inkra-popover__surface {
|
|
145
|
+
color: var(--inkra-ink);
|
|
146
|
+
display: block;
|
|
147
|
+
max-height: inherit;
|
|
148
|
+
max-width: inherit;
|
|
149
|
+
min-width: 0;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.inkra-popover__content-body {
|
|
153
|
+
box-sizing: border-box;
|
|
154
|
+
max-height: inherit;
|
|
155
|
+
max-width: inherit;
|
|
156
|
+
overflow: auto;
|
|
157
|
+
overflow-wrap: anywhere;
|
|
158
|
+
overscroll-behavior: contain;
|
|
159
|
+
padding: var(--inkra-space-4);
|
|
160
|
+
scrollbar-gutter: stable;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.inkra-popover__title,
|
|
164
|
+
.inkra-popover__description {
|
|
165
|
+
max-width: 100%;
|
|
166
|
+
overflow-wrap: anywhere;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.inkra-popover__arrow {
|
|
170
|
+
color: var(--inkra-paper);
|
|
171
|
+
fill: currentcolor;
|
|
172
|
+
height: 8px;
|
|
173
|
+
width: 16px;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
@keyframes inkra-overlay-backdrop-in {
|
|
177
|
+
from { opacity: 0; }
|
|
178
|
+
to { opacity: 1; }
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
@keyframes inkra-overlay-backdrop-out {
|
|
182
|
+
from { opacity: 1; }
|
|
183
|
+
to { opacity: 0; }
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
@keyframes inkra-overlay-content-in {
|
|
187
|
+
from {
|
|
188
|
+
opacity: 0;
|
|
189
|
+
transform: translate(-50%, calc(-50% + var(--inkra-space-2))) scale(0.98);
|
|
190
|
+
}
|
|
191
|
+
to {
|
|
192
|
+
opacity: 1;
|
|
193
|
+
transform: translate(-50%, -50%) scale(1);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
@keyframes inkra-overlay-content-out {
|
|
198
|
+
from {
|
|
199
|
+
opacity: 1;
|
|
200
|
+
transform: translate(-50%, -50%) scale(1);
|
|
201
|
+
}
|
|
202
|
+
to {
|
|
203
|
+
opacity: 0;
|
|
204
|
+
transform: translate(-50%, calc(-50% + var(--inkra-space-2))) scale(0.98);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
@keyframes inkra-popover-content-in {
|
|
209
|
+
from {
|
|
210
|
+
opacity: 0;
|
|
211
|
+
transform: translateY(var(--inkra-space-1)) scale(0.98);
|
|
212
|
+
}
|
|
213
|
+
to {
|
|
214
|
+
opacity: 1;
|
|
215
|
+
transform: translateY(0) scale(1);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
@keyframes inkra-popover-content-out {
|
|
220
|
+
from {
|
|
221
|
+
opacity: 1;
|
|
222
|
+
transform: translateY(0) scale(1);
|
|
223
|
+
}
|
|
224
|
+
to {
|
|
225
|
+
opacity: 0;
|
|
226
|
+
transform: translateY(var(--inkra-space-1)) scale(0.98);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
@media (max-width: 30rem) {
|
|
231
|
+
.inkra-overlay__content {
|
|
232
|
+
max-height: calc(100dvh - var(--inkra-space-4));
|
|
233
|
+
width: calc(100vw - var(--inkra-space-4));
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.inkra-overlay__content-body {
|
|
237
|
+
padding: var(--inkra-space-4);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
@media (prefers-reduced-motion: reduce) {
|
|
242
|
+
.inkra-overlay__backdrop,
|
|
243
|
+
.inkra-overlay__content,
|
|
244
|
+
.inkra-popover__content {
|
|
245
|
+
animation: none !important;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
@media (forced-colors: active) {
|
|
250
|
+
.inkra-overlay__header[data-divided] { border-bottom: 1px solid CanvasText; }
|
|
251
|
+
.inkra-overlay__footer[data-divided] { border-top: 1px solid CanvasText; }
|
|
252
|
+
.inkra-overlay__backdrop {
|
|
253
|
+
background: CanvasText;
|
|
254
|
+
opacity: 0.25;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.inkra-overlay__surface,
|
|
258
|
+
.inkra-popover__surface {
|
|
259
|
+
background: Canvas;
|
|
260
|
+
border: 1px solid CanvasText;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.inkra-popover__arrow {
|
|
264
|
+
color: Canvas;
|
|
265
|
+
forced-color-adjust: none;
|
|
266
|
+
stroke: CanvasText;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
@media print {
|
|
271
|
+
.inkra-overlay__backdrop {
|
|
272
|
+
display: none;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.inkra-overlay__content,
|
|
276
|
+
.inkra-popover__content {
|
|
277
|
+
animation: none !important;
|
|
278
|
+
max-height: none;
|
|
279
|
+
max-width: none;
|
|
280
|
+
position: static;
|
|
281
|
+
transform: none;
|
|
282
|
+
width: auto;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.inkra-pagination { min-inline-size: 0; max-inline-size: 100%; color: var(--inkra-ink); }
|
|
2
|
+
.inkra-pagination__list { box-sizing: border-box; display: flex; flex-wrap: nowrap; align-items: center; gap: var(--inkra-space-1); max-inline-size: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: 8px; list-style: none; padding: 8px; margin: 0; }
|
|
3
|
+
.inkra-pagination__list > li { display: flex; flex: 0 0 auto; }
|
|
4
|
+
.inkra-pagination__summary { align-items: center; box-sizing: border-box; font-variant-numeric: tabular-nums; justify-content: center; max-inline-size: 100%; min-block-size: var(--inkra-touch-target); min-inline-size: 0; overflow-wrap: anywhere; padding-inline: var(--inkra-space-2); text-align: center; white-space: normal; }
|
|
5
|
+
.inkra-pagination__page-item { max-inline-size: max(var(--inkra-touch-target), 50%); }
|
|
6
|
+
.inkra-pagination__page.inkra-button { max-inline-size: 100%; min-inline-size: var(--inkra-touch-target); scroll-margin-inline: 8px; }
|
|
7
|
+
.inkra-pagination__page .inkra-button__surface { height: auto; min-height: var(--inkra-button-visual-height); padding-block: var(--inkra-space-1); padding-inline: var(--inkra-space-2); }
|
|
8
|
+
.inkra-pagination__page .inkra-button__surface { isolation: isolate; }
|
|
9
|
+
.inkra-pagination__page > .inkra-button__focus-ring { height: auto; inset-block: 0; top: 0; transform: none; }
|
|
10
|
+
.inkra-pagination__page .inkra-button__content,
|
|
11
|
+
.inkra-pagination__page .inkra-button__label { max-inline-size: 100%; min-inline-size: 0; overflow-wrap: anywhere; position: static; white-space: normal; }
|
|
12
|
+
.inkra-pagination__selection { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
|
|
13
|
+
.inkra-pagination__page[aria-current="page"] { color: var(--inkra-selection-foreground); }
|
|
14
|
+
.inkra-pagination__ellipsis { min-inline-size: 24px; min-block-size: var(--inkra-touch-target); align-items: center; justify-content: center; }
|
|
15
|
+
.inkra-pagination__arrow:dir(rtl) { transform: scaleX(-1); }
|
|
16
|
+
.inkra-pagination__sr-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
17
|
+
@media (forced-colors: active) {
|
|
18
|
+
.inkra-pagination__page[aria-current="page"] { color: HighlightText; background: Highlight; outline: 1px solid Highlight; }
|
|
19
|
+
.inkra-pencil-surface.inkra-pagination__selection { display: none !important; }
|
|
20
|
+
}
|
|
21
|
+
@media (prefers-reduced-motion: reduce) { .inkra-pagination * { transition: none !important; animation: none !important; } }
|