@floegence/floe-webapp-core 0.66.1 → 0.67.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.
@@ -0,0 +1 @@
1
+ export declare const refreshIconPaths: readonly ["M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", "M21 3v5h-5", "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", "M8 16H3v5"];
@@ -0,0 +1,9 @@
1
+ const M = [
2
+ "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",
3
+ "M21 3v5h-5",
4
+ "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",
5
+ "M8 16H3v5"
6
+ ];
7
+ export {
8
+ M as refreshIconPaths
9
+ };
package/dist/floe.css CHANGED
@@ -1,3 +1,4 @@
1
+ @import './progress-shimmer.css';
1
2
  @import './primitives.css';
2
3
  @import './input-focus.css';
3
4
  @import './surface.css';
@@ -0,0 +1,106 @@
1
+ @layer components {
2
+ /* Opt-in progress only: text keeps one accessible copy and surface paint
3
+ * sits below content. The host owns operation state and removes the attribute
4
+ * on settlement. Both published CSS entries expose this contract. */
5
+ @keyframes floe-progress-shimmer {
6
+ 0% {
7
+ background-position: 100% center;
8
+ }
9
+ 100% {
10
+ background-position: 0% center;
11
+ }
12
+ }
13
+
14
+ :is([data-floe-progress-shimmer='text'], .processing-text-shimmer) {
15
+ color: var(--floe-progress-text-base);
16
+ }
17
+
18
+ :is([data-floe-progress-shimmer='text'], .processing-text-shimmer)::selection,
19
+ :is([data-floe-progress-shimmer='text'], .processing-text-shimmer) ::selection {
20
+ -webkit-text-fill-color: var(--selection-fg);
21
+ }
22
+
23
+ @supports (background-clip: text) {
24
+ :is([data-floe-progress-shimmer='text'], .processing-text-shimmer) {
25
+ background-image: linear-gradient(
26
+ 90deg in srgb,
27
+ var(--floe-progress-text-base) 43%,
28
+ var(--floe-progress-text-peak) 46%,
29
+ var(--floe-progress-text-peak) 54%,
30
+ var(--floe-progress-text-base) 57%
31
+ );
32
+ background-size: 250% 100%;
33
+ -webkit-background-clip: text;
34
+ background-clip: text;
35
+ -webkit-text-fill-color: transparent;
36
+ animation: floe-progress-shimmer 2.4s linear infinite;
37
+ }
38
+ }
39
+
40
+ [data-floe-progress-shimmer='surface'] {
41
+ --floe-progress-surface-base: var(
42
+ --floe-progress-surface-background,
43
+ var(--floe-progress-primary-base)
44
+ );
45
+ /* The calibrated busy fill reserves contrast for an additive white reflection. */
46
+ --floe-progress-surface-peak: color-mix(
47
+ in srgb,
48
+ var(--floe-progress-surface-base),
49
+ white var(--floe-progress-primary-white-mix)
50
+ );
51
+ position: relative;
52
+ isolation: isolate;
53
+ }
54
+
55
+ /* A busy control can be unavailable for a second submission while its
56
+ * progress remains fully legible. Disabled input semantics still apply. */
57
+ [data-floe-progress-shimmer='surface']:disabled {
58
+ opacity: 1 !important;
59
+ }
60
+
61
+ [data-floe-progress-shimmer='surface']::before {
62
+ content: '';
63
+ position: absolute;
64
+ inset: 0;
65
+ z-index: -1;
66
+ border-radius: inherit;
67
+ pointer-events: none;
68
+ background-image: linear-gradient(
69
+ 100deg in srgb,
70
+ var(--floe-progress-surface-base) 46%,
71
+ var(--floe-progress-surface-peak) 50%,
72
+ var(--floe-progress-surface-base) 54%
73
+ );
74
+ background-size: 250% 100%;
75
+ animation: floe-progress-shimmer 2.4s linear infinite;
76
+ }
77
+
78
+ @media (prefers-reduced-motion: reduce), (forced-colors: active) {
79
+ :is([data-floe-progress-shimmer='text'], .processing-text-shimmer) {
80
+ animation: none;
81
+ background-image: none;
82
+ -webkit-text-fill-color: currentColor;
83
+ }
84
+
85
+ [data-floe-progress-shimmer='surface']::before {
86
+ animation: none;
87
+ background-image: none;
88
+ background-color: var(--floe-progress-surface-base);
89
+ }
90
+ }
91
+
92
+ @media (forced-colors: active) {
93
+ [data-floe-progress-shimmer='surface']::before {
94
+ content: none;
95
+ }
96
+
97
+ :is([data-floe-progress-shimmer='text'], .processing-text-shimmer) {
98
+ color: CanvasText;
99
+ }
100
+
101
+ :is([data-floe-progress-shimmer='text'], .processing-text-shimmer)::selection,
102
+ :is([data-floe-progress-shimmer='text'], .processing-text-shimmer) ::selection {
103
+ -webkit-text-fill-color: HighlightText;
104
+ }
105
+ }
106
+ }
@@ -1,3 +1,4 @@
1
+ @import './progress-shimmer.css';
1
2
  /* First-party standalone documents: the same themes, geometry tokens and
2
3
  * material as Floe, without the shell, Tailwind utilities or renderer runtime.
3
4
  * Set .light/.dark, data-floe-shell-theme and data-floe-surface-style on <html>.