@react-spectrum/actionbar 3.0.0-alpha.1 → 3.0.0-alpha.5

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/main.css CHANGED
@@ -1,2 +1 @@
1
- ._ActionBarContainer_bbbb9{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative}._ActionBarContainer_bbbb9>:not(._react-spectrum-ActionBar_bbbb9){-ms-flex:1;flex:1;min-height:0}._ActionBarContainer_bbbb9>._react-spectrum-ActionBar_bbbb9{-ms-flex:0 0 auto;flex:0 0 auto}._react-spectrum-ActionBar_bbbb9{transition:height .13s ease-in-out,opacity .13s ease-in-out;height:0;opacity:0;width:100%;overflow:hidden}._react-spectrum-ActionBar_bbbb9._is-open_bbbb9{height:calc(var(--spectrum-global-dimension-size-600) + var(--spectrum-global-dimension-size-100) * 2);opacity:1;transition-delay:0ms}._react-spectrum-ActionBar_bbbb9 ._react-spectrum-ActionBar-bar_bbbb9{display:-ms-grid;display:grid;grid-template-areas:"clear selected . actiongroup";-ms-grid-columns:auto max-content minmax(var(--spectrum-global-dimension-size-300),1fr) auto;grid-template-columns:auto max-content minmax(var(--spectrum-global-dimension-size-300),1fr) auto;-ms-flex-align:center;align-items:center;isolation:isolate;-ms-flex-pack:justify;justify-content:space-between;padding:var(--spectrum-global-dimension-size-100);position:absolute;bottom:var(--spectrum-global-dimension-size-100);left:var(--spectrum-global-dimension-size-100);right:var(--spectrum-global-dimension-size-100);max-width:960px;margin:0 auto;background:var(--spectrum-global-color-gray-50);border-radius:var(--spectrum-alias-border-radius-regular,var(--spectrum-global-dimension-size-50));border:var(--spectrum-alias-border-size-thin,var(--spectrum-global-dimension-static-size-10)) solid var(--spectrum-alias-border-color-dark,var(--spectrum-global-color-gray-400));box-shadow:0 2px 8px var(--spectrum-alias-dropshadow-color);transform:translateY(var(--spectrum-overlay-positive-transform-distance));transition:transform .13s ease-in-out}._react-spectrum-ActionBar_bbbb9._is-open_bbbb9 ._react-spectrum-ActionBar-bar_bbbb9{transform:translateY(0)}._react-spectrum-ActionBar_bbbb9._react-spectrum-ActionBar--emphasized_bbbb9 ._react-spectrum-ActionBar-bar_bbbb9{background:#0d66d0;color:#fff;box-shadow:0 2px 6px var(--spectrum-alias-dropshadow-color);border:none}._react-spectrum-ActionBar_bbbb9 ._react-spectrum-ActionBar-selectedCount_bbbb9{grid-area:selected;padding:0 var(--spectrum-global-dimension-size-50);-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:default}._react-spectrum-ActionBar_bbbb9 ._react-spectrum-ActionBar-actionGroup_bbbb9{grid-area:actiongroup;min-width:0}
2
- /*# sourceMappingURL=main.css.map */
1
+ .ActionBarContainer_cca088{flex-direction:column;display:flex;position:relative}.ActionBarContainer_cca088>:not(.react-spectrum-ActionBar_cca088){min-height:0;flex:1}.ActionBarContainer_cca088>.react-spectrum-ActionBar_cca088{flex:none}.react-spectrum-ActionBar_cca088{transition:height var(--spectrum-global-animation-duration-100,130ms)ease-in-out,opacity var(--spectrum-global-animation-duration-100,130ms)ease-in-out;height:0;opacity:0;width:100%;overflow:hidden}.react-spectrum-ActionBar_cca088.is-open_cca088{height:calc(var(--spectrum-global-dimension-size-600) + var(--spectrum-global-dimension-size-100)*2);opacity:1;transition-delay:0s}.react-spectrum-ActionBar_cca088 .react-spectrum-ActionBar-bar_cca088{display:-ms-grid;-ms-grid-columns:auto max-content minmax(var(--spectrum-global-dimension-size-300),1fr)auto;grid-template-areas:"clear selected.actiongroup";grid-template-columns:auto max-content minmax(var(--spectrum-global-dimension-size-300),1fr)auto;isolation:isolate;padding:var(--spectrum-global-dimension-size-100);bottom:var(--spectrum-global-dimension-size-100);left:var(--spectrum-global-dimension-size-100);right:var(--spectrum-global-dimension-size-100);max-width:960px;background:var(--spectrum-global-color-gray-50);border-radius:var(--spectrum-popover-border-radius,var(--spectrum-alias-border-radius-regular));border-style:solid;border-width:var(--spectrum-popover-border-size,var(--spectrum-alias-border-size-thin));border-color:var(--spectrum-popover-border-color,var(--spectrum-alias-border-color-dark));box-shadow:0 2px 8px var(--spectrum-alias-dropshadow-color);transform:translateY(var(--spectrum-overlay-positive-transform-distance));transition:transform var(--spectrum-global-animation-duration-100,130ms)ease-in-out;justify-content:space-between;align-items:center;margin:0 auto;display:grid;position:absolute}.react-spectrum-ActionBar_cca088.is-open_cca088 .react-spectrum-ActionBar-bar_cca088{transform:translateY(0)}.react-spectrum-ActionBar_cca088.react-spectrum-ActionBar--emphasized_cca088 .react-spectrum-ActionBar-bar_cca088{background:var(--spectrum-global-color-static-blue-700,#0d66d0);color:#fff;box-shadow:0 2px 6px var(--spectrum-alias-dropshadow-color);border:0}.react-spectrum-ActionBar_cca088 .react-spectrum-ActionBar-selectedCount_cca088{padding:0 var(--spectrum-global-dimension-size-50);-webkit-user-select:none;user-select:none;cursor:default;grid-area:selected}.react-spectrum-ActionBar_cca088 .react-spectrum-ActionBar-actionGroup_cca088{min-width:0;grid-area:actiongroup}@media (forced-colors:active){.react-spectrum-ActionBar_cca088.react-spectrum-ActionBar--emphasized_cca088 .react-spectrum-ActionBar-bar_cca088{border:1px solid #0000}}
package/dist/main.js CHANGED
@@ -1,205 +1,361 @@
1
- var {
2
- useProviderProps
3
- } = require("@react-spectrum/provider");
1
+ require("./main.css");
2
+ var $ek1gT$reactstatelycollections = require("@react-stately/collections");
3
+ var $ek1gT$reactspectrumbutton = require("@react-spectrum/button");
4
+ var $ek1gT$reactspectrumactiongroup = require("@react-spectrum/actiongroup");
5
+ var $ek1gT$reactarialiveannouncer = require("@react-aria/live-announcer");
6
+ var $ek1gT$reactspectrumutils = require("@react-spectrum/utils");
7
+ var $ek1gT$spectrumiconsuiCrossLarge = require("@spectrum-icons/ui/CrossLarge");
8
+ var $ek1gT$reactariautils = require("@react-aria/utils");
9
+ var $ek1gT$reactariafocus = require("@react-aria/focus");
10
+ var $ek1gT$reactspectrumoverlays = require("@react-spectrum/overlays");
11
+ var $ek1gT$react = require("react");
12
+ var $ek1gT$reactspectrumtext = require("@react-spectrum/text");
13
+ var $ek1gT$reactariainteractions = require("@react-aria/interactions");
14
+ var $ek1gT$reactariai18n = require("@react-aria/i18n");
15
+ var $ek1gT$reactspectrumprovider = require("@react-spectrum/provider");
16
+
17
+ function $parcel$export(e, n, v, s) {
18
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
19
+ }
20
+ function $parcel$exportWildcard(dest, source) {
21
+ Object.keys(source).forEach(function(key) {
22
+ if (key === 'default' || key === '__esModule' || dest.hasOwnProperty(key)) {
23
+ return;
24
+ }
4
25
 
5
- var {
6
- useMessageFormatter
7
- } = require("@react-aria/i18n");
26
+ Object.defineProperty(dest, key, {
27
+ enumerable: true,
28
+ get: function get() {
29
+ return source[key];
30
+ }
31
+ });
32
+ });
8
33
 
9
- var {
10
- useKeyboard
11
- } = require("@react-aria/interactions");
34
+ return dest;
35
+ }
36
+ function $parcel$interopDefault(a) {
37
+ return a && a.__esModule ? a.default : a;
38
+ }
12
39
 
13
- var {
14
- Text
15
- } = require("@react-spectrum/text");
40
+ $parcel$export(module.exports, "Item", () => $ek1gT$reactstatelycollections.Item);
41
+ var $7a0471c5b9f49925$exports = {};
16
42
 
17
- var _react2 = require("react");
43
+ $parcel$export($7a0471c5b9f49925$exports, "ActionBar", () => $7a0471c5b9f49925$export$e213cebad6250b4a);
18
44
 
19
- var _react = $parcel$interopDefault(_react2);
20
45
 
21
- var {
22
- useEffect,
23
- useRef
24
- } = _react2;
25
46
 
26
- var {
27
- OpenTransition
28
- } = require("@react-spectrum/overlays");
29
47
 
30
- var {
31
- FocusScope
32
- } = require("@react-aria/focus");
33
48
 
34
- var {
35
- filterDOMProps
36
- } = require("@react-aria/utils");
37
49
 
38
- var _spectrumIconsUiCrossLarge = $parcel$interopDefault(require("@spectrum-icons/ui/CrossLarge"));
39
50
 
40
- var {
41
- classNames,
42
- useDOMRef,
43
- useStyleProps
44
- } = require("@react-spectrum/utils");
51
+ var $f36da9f2d9a3f4f2$exports = {};
52
+ var $10bc3ba3c611b3a7$exports = {};
53
+ $10bc3ba3c611b3a7$exports = JSON.parse("{\"actions\":\"الإجراءات\",\"actionsAvailable\":\"الإجراءات المتاحة.\",\"clearSelection\":\"إزالة التحديد\",\"selected\":\"{count, plural, =0 {غير محدد} other {# محدد}}\",\"selectedAll\":\"تم تحديد الكل\"}");
45
54
 
46
- var {
47
- announce
48
- } = require("@react-aria/live-announcer");
49
55
 
50
- var {
51
- ActionGroup
52
- } = require("@react-spectrum/actiongroup");
56
+ var $941ca84548a39f8d$exports = {};
57
+ $941ca84548a39f8d$exports = JSON.parse("{\"actions\":\"Действия\",\"actionsAvailable\":\"Налични действия.\",\"clearSelection\":\"Изчистване на избора\",\"selected\":\"{count, plural, =0 {Няма избрани} other {# избрани}}\",\"selectedAll\":\"Всички избрани\"}");
53
58
 
54
- var {
55
- ActionButton
56
- } = require("@react-spectrum/button");
57
59
 
58
- var _babelRuntimeHelpersInteropRequireDefault = $parcel$interopDefault(require("@babel/runtime/helpers/interopRequireDefault"));
60
+ var $b6bf4cf1ee20b7a9$exports = {};
61
+ $b6bf4cf1ee20b7a9$exports = JSON.parse("{\"actions\":\"Akce\",\"actionsAvailable\":\"Dostupné akce.\",\"clearSelection\":\"Vymazat výběr\",\"selected\":\"{count, plural, =0 {Nic není vybráno} other {Vybráno #}}\",\"selectedAll\":\"Vybráno vše\"}");
59
62
 
60
- var _babelRuntimeHelpersExtends = $parcel$interopDefault(require("@babel/runtime/helpers/extends"));
61
63
 
62
- var {
63
- Item
64
- } = require("@react-stately/collections");
64
+ var $0eeae92f98d444de$exports = {};
65
+ $0eeae92f98d444de$exports = JSON.parse("{\"actions\":\"Handlinger\",\"actionsAvailable\":\"Tilgængelige handlinger.\",\"clearSelection\":\"Ryd markering\",\"selected\":\"{count, plural, =0 {Ingen valgt} other {# valgt}}\",\"selectedAll\":\"Alle valgt\"}");
65
66
 
66
- exports.Item = Item;
67
67
 
68
- require("./main.css");
68
+ var $3fdc61caa94dae99$exports = {};
69
+ $3fdc61caa94dae99$exports = JSON.parse("{\"actions\":\"Aktionen\",\"actionsAvailable\":\"Aktionen verfügbar.\",\"clearSelection\":\"Auswahl löschen\",\"selected\":\"{count, plural, =0 {Nichts ausgewählt} other {# ausgewählt}}\",\"selectedAll\":\"Alles ausgewählt\"}");
69
70
 
70
- function $parcel$interopDefault(a) {
71
- return a && a.__esModule ? a.default : a;
72
- }
73
71
 
74
- // ASSET: /Users/govett/dev/react-spectrum-v3/packages/@react-spectrum/actionbar/src/actionbar.css
75
- var $fc809f600315498babf0c4740e30dc1$exports = {};
76
- $fc809f600315498babf0c4740e30dc1$exports = {
77
- "ActionBarContainer": "_ActionBarContainer_bbbb9",
78
- "react-spectrum-ActionBar": "_react-spectrum-ActionBar_bbbb9",
79
- "is-open": "_is-open_bbbb9",
80
- "react-spectrum-ActionBar-bar": "_react-spectrum-ActionBar-bar_bbbb9",
81
- "react-spectrum-ActionBar--emphasized": "_react-spectrum-ActionBar--emphasized_bbbb9",
82
- "react-spectrum-ActionBar-selectedCount": "_react-spectrum-ActionBar-selectedCount_bbbb9",
83
- "react-spectrum-ActionBar-actionGroup": "_react-spectrum-ActionBar-actionGroup_bbbb9"
84
- };
85
- // ASSET: /Users/govett/dev/react-spectrum-v3/packages/@react-spectrum/actionbar/intl/en-US.json
86
- var $b5d254b3c5bd6b4b3c8b54f4cdfcd124$exports = {};
87
- $b5d254b3c5bd6b4b3c8b54f4cdfcd124$exports = JSON.parse("{\"clearSelection\":\"Clear selection\",\"selected\":\"{count, plural, =0 {None selected} other {# selected}}\",\"selectedAll\":\"All selected\",\"actions\":\"Actions\",\"actionsAvailable\":\"Actions available.\"}");
88
- // @ts-ignore
89
- const $ab7533a35979e9e2d35c7eeb16e3c03e$var$intlMessages = {
90
- "en-US": _babelRuntimeHelpersInteropRequireDefault($b5d254b3c5bd6b4b3c8b54f4cdfcd124$exports).default
72
+ var $7d1cab73beb50d72$exports = {};
73
+ $7d1cab73beb50d72$exports = JSON.parse("{\"actions\":\"Ενέργειες\",\"actionsAvailable\":\"Υπάρχουν διαθέσιμες ενέργειες.\",\"clearSelection\":\"Εκκαθάριση επιλογής\",\"selected\":\"{count, plural, =0 {Δεν επιλέχθηκε κανένα} other {Επιλέχθηκαν #}}\",\"selectedAll\":\"Επιλέχθηκαν όλα\"}");
74
+
75
+
76
+ var $d844d6757f842de0$exports = {};
77
+ $d844d6757f842de0$exports = JSON.parse("{\"clearSelection\":\"Clear selection\",\"selected\":\"{count, plural, =0 {None selected} other {# selected}}\",\"selectedAll\":\"All selected\",\"actions\":\"Actions\",\"actionsAvailable\":\"Actions available.\"}");
78
+
79
+
80
+ var $d24f832f30548354$exports = {};
81
+ $d24f832f30548354$exports = JSON.parse("{\"actions\":\"Acciones\",\"actionsAvailable\":\"Acciones disponibles.\",\"clearSelection\":\"Borrar selección\",\"selected\":\"{count, plural, =0 {Nada seleccionado} other {# seleccionado}}\",\"selectedAll\":\"Todo seleccionado\"}");
82
+
83
+
84
+ var $a52419ef190ca3d5$exports = {};
85
+ $a52419ef190ca3d5$exports = JSON.parse("{\"actions\":\"Toimingud\",\"actionsAvailable\":\"Toimingud saadaval.\",\"clearSelection\":\"Puhasta valik\",\"selected\":\"{count, plural, =0 {Pole valitud} other {# valitud}}\",\"selectedAll\":\"Kõik valitud\"}");
86
+
87
+
88
+ var $f270f7d940feaae5$exports = {};
89
+ $f270f7d940feaae5$exports = JSON.parse("{\"actions\":\"Toiminnot\",\"actionsAvailable\":\"Toiminnot käytettävissä.\",\"clearSelection\":\"Poista valinta\",\"selected\":\"{count, plural, =0 {Ei mitään valittu} other {# valittu}}\",\"selectedAll\":\"Kaikki valittu\"}");
90
+
91
+
92
+ var $92b063b3eccbda4d$exports = {};
93
+ $92b063b3eccbda4d$exports = JSON.parse("{\"actions\":\"Actions\",\"actionsAvailable\":\"Actions disponibles.\",\"clearSelection\":\"Supprimer la sélection\",\"selected\":\"{count, plural, =0 {Aucun élément sélectionné} other {# sélectionnés}}\",\"selectedAll\":\"Toute la sélection\"}");
94
+
95
+
96
+ var $7d240d26a631be6f$exports = {};
97
+ $7d240d26a631be6f$exports = JSON.parse("{\"actions\":\"פעולות\",\"actionsAvailable\":\"פעולות זמינות.\",\"clearSelection\":\"נקה בחירה\",\"selected\":\"{count, plural, =0 {לא בוצעה בחירה} other {# נבחרו}}\",\"selectedAll\":\"כל הפריטים שנבחרו\"}");
98
+
99
+
100
+ var $b728af1a0875d410$exports = {};
101
+ $b728af1a0875d410$exports = JSON.parse("{\"actions\":\"Radnje\",\"actionsAvailable\":\"Dostupne radnje.\",\"clearSelection\":\"Poništi odabir\",\"selected\":\"{count, plural, =0 {Nijedna nije odabrana} other {# je odabrano}}\",\"selectedAll\":\"Sve je odabrano\"}");
102
+
103
+
104
+ var $d9c66817f12543c1$exports = {};
105
+ $d9c66817f12543c1$exports = JSON.parse("{\"actions\":\"Műveletek\",\"actionsAvailable\":\"Műveletek állnak rendelkezésre.\",\"clearSelection\":\"Kijelölés törlése\",\"selected\":\"{count, plural, =0 {Egy sincs kijelölve} other {# kijelölve}}\",\"selectedAll\":\"Mind kijelölve\"}");
106
+
107
+
108
+ var $7bc618ab5f3b5dc7$exports = {};
109
+ $7bc618ab5f3b5dc7$exports = JSON.parse("{\"actions\":\"Azioni\",\"actionsAvailable\":\"Azioni disponibili.\",\"clearSelection\":\"Annulla selezione\",\"selected\":\"{count, plural, =0 {Nessuno selezionato} other {# selezionato/i}}\",\"selectedAll\":\"Tutti selezionati\"}");
110
+
111
+
112
+ var $0d0c433eaba3b77c$exports = {};
113
+ $0d0c433eaba3b77c$exports = JSON.parse("{\"actions\":\"アクション\",\"actionsAvailable\":\"アクションを利用できます。\",\"clearSelection\":\"選択をクリア\",\"selected\":\"{count, plural, =0 {選択されていません} other {# 個を選択しました}}\",\"selectedAll\":\"すべてを選択\"}");
114
+
115
+
116
+ var $f3d86d0793779452$exports = {};
117
+ $f3d86d0793779452$exports = JSON.parse("{\"actions\":\"액션\",\"actionsAvailable\":\"사용 가능한 액션\",\"clearSelection\":\"선택 항목 지우기\",\"selected\":\"{count, plural, =0 {선택된 항목 없음} other {#개 선택됨}}\",\"selectedAll\":\"모두 선택됨\"}");
118
+
119
+
120
+ var $ac7be3bf86955366$exports = {};
121
+ $ac7be3bf86955366$exports = JSON.parse("{\"actions\":\"Veiksmai\",\"actionsAvailable\":\"Galimi veiksmai.\",\"clearSelection\":\"Išvalyti pasirinkimą\",\"selected\":\"{count, plural, =0 {Nieko nepasirinkta} other {Pasirinkta #}}\",\"selectedAll\":\"Pasirinkta viskas\"}");
122
+
123
+
124
+ var $0bc2fb942597d6d8$exports = {};
125
+ $0bc2fb942597d6d8$exports = JSON.parse("{\"actions\":\"Darbības\",\"actionsAvailable\":\"Pieejamas darbības.\",\"clearSelection\":\"Notīrīt atlasi\",\"selected\":\"{count, plural, =0 {Nav atlasīts nekas} other {Atlasīts: #}}\",\"selectedAll\":\"Atlasīts viss\"}");
126
+
127
+
128
+ var $35d3a1e208e755e5$exports = {};
129
+ $35d3a1e208e755e5$exports = JSON.parse("{\"actions\":\"Handlinger\",\"actionsAvailable\":\"Tilgjengelige handlinger.\",\"clearSelection\":\"Tøm utvalg\",\"selected\":\"{count, plural, =0 {Ingen er valgt} other {# er valgt}}\",\"selectedAll\":\"Alle er valgt\"}");
130
+
131
+
132
+ var $553db219e64a47cb$exports = {};
133
+ $553db219e64a47cb$exports = JSON.parse("{\"actions\":\"Acties\",\"actionsAvailable\":\"Acties beschikbaar.\",\"clearSelection\":\"Selectie wissen\",\"selected\":\"{count, plural, =0 {Niets geselecteerd} other {# geselecteerd}}\",\"selectedAll\":\"Alles geselecteerd\"}");
134
+
135
+
136
+ var $1e011ebe7a17ee2a$exports = {};
137
+ $1e011ebe7a17ee2a$exports = JSON.parse("{\"actions\":\"Działania\",\"actionsAvailable\":\"Dostępne działania.\",\"clearSelection\":\"Wyczyść zaznaczenie\",\"selected\":\"{count, plural, =0 {Nie zaznaczono żadnego elementu} other {# zaznaczonych}}\",\"selectedAll\":\"Wszystkie zaznaczone\"}");
138
+
139
+
140
+ var $948e8e5f05aaae03$exports = {};
141
+ $948e8e5f05aaae03$exports = JSON.parse("{\"actions\":\"Ações\",\"actionsAvailable\":\"Ações disponíveis.\",\"clearSelection\":\"Limpar seleção\",\"selected\":\"{count, plural, =0 {Nada selecionado} other {# selecionado}}\",\"selectedAll\":\"Todos selecionados\"}");
142
+
143
+
144
+ var $f4f0abdab8e9ce7d$exports = {};
145
+ $f4f0abdab8e9ce7d$exports = JSON.parse("{\"actions\":\"Ações\",\"actionsAvailable\":\"Ações disponíveis.\",\"clearSelection\":\"Limpar seleção\",\"selected\":\"{count, plural, =0 {Nenhum selecionado} other {# selecionado}}\",\"selectedAll\":\"Tudo selecionado\"}");
146
+
147
+
148
+ var $9f366aabaf574f6b$exports = {};
149
+ $9f366aabaf574f6b$exports = JSON.parse("{\"actions\":\"Acțiuni\",\"actionsAvailable\":\"Acțiuni disponibile.\",\"clearSelection\":\"Goliți selecția\",\"selected\":\"{count, plural, =0 {Niciunul selectat} other {# selectate}}\",\"selectedAll\":\"Toate selectate\"}");
150
+
151
+
152
+ var $ca2d27c5cfa20698$exports = {};
153
+ $ca2d27c5cfa20698$exports = JSON.parse("{\"actions\":\"Действия\",\"actionsAvailable\":\"Возможно выполнение действий.\",\"clearSelection\":\"Очистить выбор\",\"selected\":\"{count, plural, =0 {Ничего не выбоано} other {# выбрано}}\",\"selectedAll\":\"Выбрано все\"}");
154
+
155
+
156
+ var $93d40feddfc68d81$exports = {};
157
+ $93d40feddfc68d81$exports = JSON.parse("{\"actions\":\"Akcie\",\"actionsAvailable\":\"Dostupné akcie.\",\"clearSelection\":\"Vymazať výber\",\"selected\":\"{count, plural, =0 {Žiadne vybraté položky} other {Počet vybratých položiek: #}}\",\"selectedAll\":\"Všetky vybraté položky\"}");
158
+
159
+
160
+ var $68fb396a3c4c07c0$exports = {};
161
+ $68fb396a3c4c07c0$exports = JSON.parse("{\"actions\":\"Dejanja\",\"actionsAvailable\":\"Na voljo so dejanja.\",\"clearSelection\":\"Počisti izbor\",\"selected\":\"{count, plural, =0 {Nič izbranih} other {# izbranih}}\",\"selectedAll\":\"Vsi izbrani\"}");
162
+
163
+
164
+ var $a60f492ab29044c3$exports = {};
165
+ $a60f492ab29044c3$exports = JSON.parse("{\"actions\":\"Radnje\",\"actionsAvailable\":\"Dostupne su radnje.\",\"clearSelection\":\"Poništi izbor\",\"selected\":\"{count, plural, =0 {Ništa nije izabrano} other {# je izabrano}}\",\"selectedAll\":\"Sve je izabrano\"}");
166
+
167
+
168
+ var $c4d28e6a0b5b4446$exports = {};
169
+ $c4d28e6a0b5b4446$exports = JSON.parse("{\"actions\":\"Åtgärder\",\"actionsAvailable\":\"Åtgärder finns.\",\"clearSelection\":\"Rensa markering\",\"selected\":\"{count, plural, =0 {Inga markerade} other {# markerade}}\",\"selectedAll\":\"Alla markerade\"}");
170
+
171
+
172
+ var $07bf942c150f0c0a$exports = {};
173
+ $07bf942c150f0c0a$exports = JSON.parse("{\"actions\":\"Eylemler\",\"actionsAvailable\":\"Eylemler mevcut.\",\"clearSelection\":\"Seçimi temizle\",\"selected\":\"{count, plural, =0 {Hiçbiri seçilmedi} other {# seçildi}}\",\"selectedAll\":\"Tümü seçildi\"}");
174
+
175
+
176
+ var $6f06dc12f4ef21dd$exports = {};
177
+ $6f06dc12f4ef21dd$exports = JSON.parse("{\"actions\":\"Дії\",\"actionsAvailable\":\"Доступні дії.\",\"clearSelection\":\"Очистити вибір\",\"selected\":\"{count, plural, =0 {Нічого не вибрано} other {Вибрано: #}}\",\"selectedAll\":\"Усе вибрано\"}");
178
+
179
+
180
+ var $ae244be592e9c340$exports = {};
181
+ $ae244be592e9c340$exports = JSON.parse("{\"actions\":\"操作\",\"actionsAvailable\":\"有可用操作。\",\"clearSelection\":\"清除选择\",\"selected\":\"{count, plural, =0 {无选择} other {已选择 # 个}}\",\"selectedAll\":\"全选\"}");
182
+
183
+
184
+ var $1d828d9c35a9cfec$exports = {};
185
+ $1d828d9c35a9cfec$exports = JSON.parse("{\"actions\":\"動作\",\"actionsAvailable\":\"可執行的動作。\",\"clearSelection\":\"清除選取項目\",\"selected\":\"{count, plural, =0 {未選取任何項目} other {已選取 # 個}}\",\"selectedAll\":\"已選取所有項目\"}");
186
+
187
+
188
+ $f36da9f2d9a3f4f2$exports = {
189
+ "ar-AE": $10bc3ba3c611b3a7$exports,
190
+ "bg-BG": $941ca84548a39f8d$exports,
191
+ "cs-CZ": $b6bf4cf1ee20b7a9$exports,
192
+ "da-DK": $0eeae92f98d444de$exports,
193
+ "de-DE": $3fdc61caa94dae99$exports,
194
+ "el-GR": $7d1cab73beb50d72$exports,
195
+ "en-US": $d844d6757f842de0$exports,
196
+ "es-ES": $d24f832f30548354$exports,
197
+ "et-EE": $a52419ef190ca3d5$exports,
198
+ "fi-FI": $f270f7d940feaae5$exports,
199
+ "fr-FR": $92b063b3eccbda4d$exports,
200
+ "he-IL": $7d240d26a631be6f$exports,
201
+ "hr-HR": $b728af1a0875d410$exports,
202
+ "hu-HU": $d9c66817f12543c1$exports,
203
+ "it-IT": $7bc618ab5f3b5dc7$exports,
204
+ "ja-JP": $0d0c433eaba3b77c$exports,
205
+ "ko-KR": $f3d86d0793779452$exports,
206
+ "lt-LT": $ac7be3bf86955366$exports,
207
+ "lv-LV": $0bc2fb942597d6d8$exports,
208
+ "nb-NO": $35d3a1e208e755e5$exports,
209
+ "nl-NL": $553db219e64a47cb$exports,
210
+ "pl-PL": $1e011ebe7a17ee2a$exports,
211
+ "pt-BR": $948e8e5f05aaae03$exports,
212
+ "pt-PT": $f4f0abdab8e9ce7d$exports,
213
+ "ro-RO": $9f366aabaf574f6b$exports,
214
+ "ru-RU": $ca2d27c5cfa20698$exports,
215
+ "sk-SK": $93d40feddfc68d81$exports,
216
+ "sl-SI": $68fb396a3c4c07c0$exports,
217
+ "sr-SP": $a60f492ab29044c3$exports,
218
+ "sv-SE": $c4d28e6a0b5b4446$exports,
219
+ "tr-TR": $07bf942c150f0c0a$exports,
220
+ "uk-UA": $6f06dc12f4ef21dd$exports,
221
+ "zh-CN": $ae244be592e9c340$exports,
222
+ "zh-TW": $1d828d9c35a9cfec$exports
91
223
  };
92
224
 
93
- function $ab7533a35979e9e2d35c7eeb16e3c03e$var$ActionBar(props, ref) {
94
- let isOpen = props.selectedItemCount !== 0;
95
- return /*#__PURE__*/_react.createElement(OpenTransition, {
96
- in: isOpen,
97
- mountOnEnter: true,
98
- unmountOnExit: true
99
- }, /*#__PURE__*/_react.createElement($ab7533a35979e9e2d35c7eeb16e3c03e$var$ActionBarInner, _babelRuntimeHelpersExtends({}, props, {
100
- ref: ref
101
- })));
102
- }
103
225
 
104
- var $fc809f600315498babf0c4740e30dc1$$interop$default = $parcel$interopDefault($fc809f600315498babf0c4740e30dc1$exports);
105
-
106
- const $ab7533a35979e9e2d35c7eeb16e3c03e$var$ActionBarInner = /*#__PURE__*/_react.forwardRef((props, ref) => {
107
- props = useProviderProps(props);
108
- let {
109
- children,
110
- isEmphasized,
111
- onAction,
112
- onClearSelection,
113
- selectedItemCount,
114
- isOpen
115
- } = props;
116
- let {
117
- styleProps
118
- } = useStyleProps(props);
119
- let domRef = useDOMRef(ref);
120
- let formatMessage = useMessageFormatter($ab7533a35979e9e2d35c7eeb16e3c03e$var$intlMessages); // Store the last count greater than zero in a ref so that we can retain it while rendering the fade-out animation.
121
-
122
- let lastCount = useRef(selectedItemCount);
123
-
124
- if (selectedItemCount === 'all' || selectedItemCount > 0) {
125
- lastCount.current = selectedItemCount;
126
- }
127
-
128
- let {
129
- keyboardProps
130
- } = useKeyboard({
131
- onKeyDown(e) {
132
- if (e.key === 'Escape') {
133
- e.preventDefault();
134
- onClearSelection();
135
- }
136
- }
137
226
 
138
- }); // Announce "actions available" on mount.
139
-
140
- useEffect(() => {
141
- announce(formatMessage('actionsAvailable'));
142
- }, [formatMessage]);
143
- return /*#__PURE__*/_react.createElement(FocusScope, {
144
- restoreFocus: true
145
- }, /*#__PURE__*/_react.createElement("div", _babelRuntimeHelpersExtends({}, filterDOMProps(props), styleProps, keyboardProps, {
146
- ref: domRef,
147
- className: classNames($fc809f600315498babf0c4740e30dc1$$interop$default, 'react-spectrum-ActionBar', {
148
- 'react-spectrum-ActionBar--emphasized': isEmphasized,
149
- 'is-open': isOpen
150
- }, styleProps.className)
151
- }), /*#__PURE__*/_react.createElement("div", {
152
- className: classNames($fc809f600315498babf0c4740e30dc1$$interop$default, 'react-spectrum-ActionBar-bar')
153
- }, /*#__PURE__*/_react.createElement(ActionGroup, {
154
- "aria-label": formatMessage('actions'),
155
- isQuiet: true,
156
- staticColor: isEmphasized ? 'white' : null,
157
- overflowMode: "collapse",
158
- buttonLabelBehavior: "collapse",
159
- onAction: onAction,
160
- UNSAFE_className: classNames($fc809f600315498babf0c4740e30dc1$$interop$default, 'react-spectrum-ActionBar-actionGroup')
161
- }, children), /*#__PURE__*/_react.createElement(ActionButton, {
162
- gridArea: "clear",
163
- "aria-label": formatMessage('clearSelection'),
164
- onPress: () => onClearSelection(),
165
- isQuiet: true,
166
- staticColor: isEmphasized ? 'white' : null
167
- }, /*#__PURE__*/_react.createElement(_spectrumIconsUiCrossLarge, null)), /*#__PURE__*/_react.createElement(Text, {
168
- UNSAFE_className: classNames($fc809f600315498babf0c4740e30dc1$$interop$default, 'react-spectrum-ActionBar-selectedCount')
169
- }, lastCount.current === 'all' ? formatMessage('selectedAll') : formatMessage('selected', {
170
- count: lastCount.current
171
- })))));
227
+
228
+ var $8c7dd25e7f3ff22d$exports = {};
229
+
230
+ $parcel$export($8c7dd25e7f3ff22d$exports, "ActionBarContainer", () => $8c7dd25e7f3ff22d$export$ac2eb07f267e434c, (v) => $8c7dd25e7f3ff22d$export$ac2eb07f267e434c = v);
231
+ $parcel$export($8c7dd25e7f3ff22d$exports, "react-spectrum-ActionBar", () => $8c7dd25e7f3ff22d$export$71a4c2be37bc4ee5, (v) => $8c7dd25e7f3ff22d$export$71a4c2be37bc4ee5 = v);
232
+ $parcel$export($8c7dd25e7f3ff22d$exports, "is-open", () => $8c7dd25e7f3ff22d$export$a9781837241c946d, (v) => $8c7dd25e7f3ff22d$export$a9781837241c946d = v);
233
+ $parcel$export($8c7dd25e7f3ff22d$exports, "react-spectrum-ActionBar-bar", () => $8c7dd25e7f3ff22d$export$ea5a1c79ca7998e9, (v) => $8c7dd25e7f3ff22d$export$ea5a1c79ca7998e9 = v);
234
+ $parcel$export($8c7dd25e7f3ff22d$exports, "react-spectrum-ActionBar--emphasized", () => $8c7dd25e7f3ff22d$export$3377f5e3cddd68a7, (v) => $8c7dd25e7f3ff22d$export$3377f5e3cddd68a7 = v);
235
+ $parcel$export($8c7dd25e7f3ff22d$exports, "react-spectrum-ActionBar-selectedCount", () => $8c7dd25e7f3ff22d$export$8b9fb52122670f9e, (v) => $8c7dd25e7f3ff22d$export$8b9fb52122670f9e = v);
236
+ $parcel$export($8c7dd25e7f3ff22d$exports, "react-spectrum-ActionBar-actionGroup", () => $8c7dd25e7f3ff22d$export$adc2706661946993, (v) => $8c7dd25e7f3ff22d$export$adc2706661946993 = v);
237
+ var $8c7dd25e7f3ff22d$export$ac2eb07f267e434c;
238
+ var $8c7dd25e7f3ff22d$export$71a4c2be37bc4ee5;
239
+ var $8c7dd25e7f3ff22d$export$a9781837241c946d;
240
+ var $8c7dd25e7f3ff22d$export$ea5a1c79ca7998e9;
241
+ var $8c7dd25e7f3ff22d$export$3377f5e3cddd68a7;
242
+ var $8c7dd25e7f3ff22d$export$8b9fb52122670f9e;
243
+ var $8c7dd25e7f3ff22d$export$adc2706661946993;
244
+ $8c7dd25e7f3ff22d$export$ac2eb07f267e434c = "ActionBarContainer_cca088";
245
+ $8c7dd25e7f3ff22d$export$71a4c2be37bc4ee5 = "react-spectrum-ActionBar_cca088";
246
+ $8c7dd25e7f3ff22d$export$a9781837241c946d = "is-open_cca088";
247
+ $8c7dd25e7f3ff22d$export$ea5a1c79ca7998e9 = "react-spectrum-ActionBar-bar_cca088";
248
+ $8c7dd25e7f3ff22d$export$3377f5e3cddd68a7 = "react-spectrum-ActionBar--emphasized_cca088";
249
+ $8c7dd25e7f3ff22d$export$8b9fb52122670f9e = "react-spectrum-ActionBar-selectedCount_cca088";
250
+ $8c7dd25e7f3ff22d$export$adc2706661946993 = "react-spectrum-ActionBar-actionGroup_cca088";
251
+
252
+
253
+
254
+
255
+
256
+
257
+ function $7a0471c5b9f49925$var$ActionBar(props, ref) {
258
+ let isOpen = props.selectedItemCount !== 0;
259
+ return(/*#__PURE__*/ ($parcel$interopDefault($ek1gT$react)).createElement($ek1gT$reactspectrumoverlays.OpenTransition, {
260
+ in: isOpen,
261
+ mountOnEnter: true,
262
+ unmountOnExit: true
263
+ }, /*#__PURE__*/ ($parcel$interopDefault($ek1gT$react)).createElement($7a0471c5b9f49925$var$ActionBarInner, {
264
+ ...props,
265
+ ref: ref
266
+ })));
267
+ }
268
+ const $7a0471c5b9f49925$var$ActionBarInner = /*#__PURE__*/ ($parcel$interopDefault($ek1gT$react)).forwardRef((props, ref)=>{
269
+ props = $ek1gT$reactspectrumprovider.useProviderProps(props);
270
+ let { children: children , isEmphasized: isEmphasized , onAction: onAction , onClearSelection: onClearSelection , selectedItemCount: selectedItemCount , isOpen: isOpen } = props;
271
+ let { styleProps: styleProps } = $ek1gT$reactspectrumutils.useStyleProps(props);
272
+ let domRef = $ek1gT$reactspectrumutils.useDOMRef(ref);
273
+ let formatMessage = $ek1gT$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($f36da9f2d9a3f4f2$exports)));
274
+ // Store the last count greater than zero in a ref so that we can retain it while rendering the fade-out animation.
275
+ let lastCount = $ek1gT$react.useRef(selectedItemCount);
276
+ if (selectedItemCount === 'all' || selectedItemCount > 0) lastCount.current = selectedItemCount;
277
+ let { keyboardProps: keyboardProps } = $ek1gT$reactariainteractions.useKeyboard({
278
+ onKeyDown (e) {
279
+ if (e.key === 'Escape') {
280
+ e.preventDefault();
281
+ onClearSelection();
282
+ }
283
+ }
284
+ });
285
+ // Announce "actions available" on mount.
286
+ $ek1gT$react.useEffect(()=>{
287
+ $ek1gT$reactarialiveannouncer.announce(formatMessage('actionsAvailable'));
288
+ }, [
289
+ formatMessage
290
+ ]);
291
+ return(/*#__PURE__*/ ($parcel$interopDefault($ek1gT$react)).createElement($ek1gT$reactariafocus.FocusScope, {
292
+ restoreFocus: true
293
+ }, /*#__PURE__*/ ($parcel$interopDefault($ek1gT$react)).createElement("div", {
294
+ ...$ek1gT$reactariautils.filterDOMProps(props),
295
+ ...styleProps,
296
+ ...keyboardProps,
297
+ ref: domRef,
298
+ className: $ek1gT$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($8c7dd25e7f3ff22d$exports)), 'react-spectrum-ActionBar', {
299
+ 'react-spectrum-ActionBar--emphasized': isEmphasized,
300
+ 'is-open': isOpen
301
+ }, styleProps.className)
302
+ }, /*#__PURE__*/ ($parcel$interopDefault($ek1gT$react)).createElement("div", {
303
+ className: $ek1gT$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($8c7dd25e7f3ff22d$exports)), 'react-spectrum-ActionBar-bar')
304
+ }, /*#__PURE__*/ ($parcel$interopDefault($ek1gT$react)).createElement($ek1gT$reactspectrumactiongroup.ActionGroup, {
305
+ "aria-label": formatMessage('actions'),
306
+ isQuiet: true,
307
+ staticColor: isEmphasized ? 'white' : null,
308
+ overflowMode: "collapse",
309
+ buttonLabelBehavior: "collapse",
310
+ onAction: onAction,
311
+ UNSAFE_className: $ek1gT$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($8c7dd25e7f3ff22d$exports)), 'react-spectrum-ActionBar-actionGroup')
312
+ }, children), /*#__PURE__*/ ($parcel$interopDefault($ek1gT$react)).createElement($ek1gT$reactspectrumbutton.ActionButton, {
313
+ gridArea: "clear",
314
+ "aria-label": formatMessage('clearSelection'),
315
+ onPress: ()=>onClearSelection()
316
+ ,
317
+ isQuiet: true,
318
+ staticColor: isEmphasized ? 'white' : null
319
+ }, /*#__PURE__*/ ($parcel$interopDefault($ek1gT$react)).createElement(($parcel$interopDefault($ek1gT$spectrumiconsuiCrossLarge)), null)), /*#__PURE__*/ ($parcel$interopDefault($ek1gT$react)).createElement($ek1gT$reactspectrumtext.Text, {
320
+ UNSAFE_className: $ek1gT$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($8c7dd25e7f3ff22d$exports)), 'react-spectrum-ActionBar-selectedCount')
321
+ }, lastCount.current === 'all' ? formatMessage('selectedAll') : formatMessage('selected', {
322
+ count: lastCount.current
323
+ }))))));
172
324
  });
173
325
  /**
174
326
  * TODO: Add description of component here.
175
- */
176
-
177
-
178
- const ActionBar = /*#__PURE__*/_react.forwardRef($ab7533a35979e9e2d35c7eeb16e3c03e$var$ActionBar);
179
-
180
- exports.ActionBar = ActionBar;
181
-
182
- function $e63fa98405d2f7ed675ee87b79565d$var$ActionBarContainer(props, ref) {
183
- // Grabs specific props from the closest Provider (see https://react-spectrum.adobe.com/react-spectrum/Provider.html#property-groups). Remove if your component doesn't support any of the listed props.
184
- props = useProviderProps(props);
185
- let {
186
- children
187
- } = props;
188
- let {
189
- styleProps
190
- } = useStyleProps(props);
191
- let domRef = useDOMRef(ref);
192
- return /*#__PURE__*/_react.createElement("div", _babelRuntimeHelpersExtends({}, filterDOMProps(props), styleProps, {
193
- ref: domRef,
194
- className: classNames($fc809f600315498babf0c4740e30dc1$$interop$default, 'ActionBarContainer', styleProps.className)
195
- }), children);
327
+ */ const $7a0471c5b9f49925$export$e213cebad6250b4a = /*#__PURE__*/ ($parcel$interopDefault($ek1gT$react)).forwardRef($7a0471c5b9f49925$var$ActionBar);
328
+
329
+
330
+ var $78a2693b714f21dc$exports = {};
331
+
332
+ $parcel$export($78a2693b714f21dc$exports, "ActionBarContainer", () => $78a2693b714f21dc$export$ac2eb07f267e434c);
333
+
334
+
335
+
336
+
337
+
338
+ function $78a2693b714f21dc$var$ActionBarContainer(props, ref) {
339
+ // Grabs specific props from the closest Provider (see https://react-spectrum.adobe.com/react-spectrum/Provider.html#property-groups). Remove if your component doesn't support any of the listed props.
340
+ props = $ek1gT$reactspectrumprovider.useProviderProps(props);
341
+ let { children: children } = props;
342
+ let { styleProps: styleProps } = $ek1gT$reactspectrumutils.useStyleProps(props);
343
+ let domRef = $ek1gT$reactspectrumutils.useDOMRef(ref);
344
+ return(/*#__PURE__*/ ($parcel$interopDefault($ek1gT$react)).createElement("div", {
345
+ ...$ek1gT$reactariautils.filterDOMProps(props),
346
+ ...styleProps,
347
+ ref: domRef,
348
+ className: $ek1gT$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($8c7dd25e7f3ff22d$exports)), 'ActionBarContainer', styleProps.className)
349
+ }, children));
196
350
  }
197
351
  /**
198
352
  * TODO: Add description of component here.
199
- */
353
+ */ const $78a2693b714f21dc$export$ac2eb07f267e434c = /*#__PURE__*/ ($parcel$interopDefault($ek1gT$react)).forwardRef($78a2693b714f21dc$var$ActionBarContainer);
354
+
355
+
200
356
 
357
+ $parcel$exportWildcard(module.exports, $7a0471c5b9f49925$exports);
358
+ $parcel$exportWildcard(module.exports, $78a2693b714f21dc$exports);
201
359
 
202
- const ActionBarContainer = /*#__PURE__*/_react.forwardRef($e63fa98405d2f7ed675ee87b79565d$var$ActionBarContainer);
203
360
 
204
- exports.ActionBarContainer = ActionBarContainer;
205
361
  //# sourceMappingURL=main.js.map