freemium-ui 2.0.91 → 2.1.0-alpha.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/lib/Accordion-Ccv-p2G6.js +134 -0
- package/lib/Accordion.d.ts +56 -0
- package/lib/Accordion.js +7 -0
- package/lib/Alert-BtEbkVK1.js +52 -0
- package/lib/Alert.d.ts +66 -0
- package/lib/Alert.js +6 -0
- package/lib/AutoComplete-DF33_uur.js +608 -0
- package/lib/AutoComplete.d.ts +105 -0
- package/lib/AutoComplete.js +14 -0
- package/lib/BoxedRadio-D5Kiintm.js +75 -0
- package/lib/BoxedRadio.d.ts +61 -0
- package/lib/BoxedRadio.js +10 -0
- package/lib/Button-Bd1O8_k7.js +34 -0
- package/lib/Button.d.ts +34 -0
- package/lib/Button.js +2 -0
- package/lib/ButtonDropdown-BZvCwUDe.js +37 -0
- package/lib/ButtonDropdown.d.ts +82 -0
- package/lib/ButtonDropdown.js +11 -0
- package/lib/Calendar-C0xW_pPO.js +32 -0
- package/lib/Calendar.d.ts +25 -0
- package/lib/Calendar.js +2 -0
- package/lib/Checkbox-By1CgFUJ.js +66 -0
- package/lib/Checkbox.d.ts +28 -0
- package/lib/Checkbox.js +7 -0
- package/lib/ChevronUp-BWiG3XYd.js +7 -0
- package/lib/Combination-AmN1Cqrf.js +210 -0
- package/lib/Confirmation-49GhlyzQ.js +66 -0
- package/lib/Confirmation.d.ts +72 -0
- package/lib/Confirmation.js +8 -0
- package/lib/Cross-CIeKwtq6.js +7 -0
- package/lib/CustomizeColumns-BSF8e_we.js +865 -0
- package/lib/Drawer-CnmXL5_B.js +33 -0
- package/lib/Drawer.d.ts +50 -0
- package/lib/Drawer.js +8 -0
- package/lib/Dropdown-D59u6zOt.js +89 -0
- package/lib/Dropdown.d.ts +162 -0
- package/lib/Dropdown.js +15 -0
- package/lib/ErrorText-Uvye7uop.js +8 -0
- package/lib/Info-BsILbpCG.js +9 -0
- package/lib/Input.d.ts +66 -0
- package/lib/Input.js +5 -0
- package/lib/Loader-b8lHCp4N.js +13 -0
- package/lib/Loader.d.ts +21 -0
- package/lib/Loader.js +3 -0
- package/lib/Menu-DoE00Mg-.js +19 -0
- package/lib/Menu.d.ts +80 -0
- package/lib/Menu.js +11 -0
- package/lib/Modal-D5RJHnbn.js +51 -0
- package/lib/Modal.d.ts +51 -0
- package/lib/Modal.js +7 -0
- package/lib/MultiSelectDropdown-DblSkVpv.js +84 -0
- package/lib/MultiSelectDropdown.d.ts +116 -0
- package/lib/MultiSelectDropdown.js +14 -0
- package/lib/Pickers.d.ts +94 -0
- package/lib/Pickers.js +16 -0
- package/lib/Popover-BU73-g73.js +90 -0
- package/lib/Popover.d.ts +94 -0
- package/lib/Popover.js +8 -0
- package/lib/QuillEditor.d.ts +29 -0
- package/lib/QuillEditor.js +3369 -0
- package/lib/Radio.d.ts +69 -0
- package/lib/Radio.js +10 -0
- package/lib/RadioGroup-DM_Y48_b.js +42 -0
- package/lib/Reorder-DUSHsq7i.js +697 -0
- package/lib/Reorder.d.ts +36 -0
- package/lib/Reorder.js +5 -0
- package/lib/SortDropdown-B0SSCJX6.js +17 -0
- package/lib/SortDropdown.d.ts +47 -0
- package/lib/SortDropdown.js +10 -0
- package/lib/Table-cidceyn5.js +117 -0
- package/lib/Table.d.ts +95 -0
- package/lib/Table.js +18 -0
- package/lib/Tabs-j1c7ybY-.js +50 -0
- package/lib/Tabs.d.ts +68 -0
- package/lib/Tabs.js +6 -0
- package/lib/Tag-Cu75ReQP.js +49 -0
- package/lib/Tag.d.ts +50 -0
- package/lib/Tag.js +4 -0
- package/lib/TextArea--fiwZ_QM.js +98 -0
- package/lib/ThemeProvider-bWL8hyYA.js +7 -0
- package/lib/ThemeProvider.d.ts +158 -0
- package/lib/ThemeProvider.js +9 -0
- package/lib/TickIcon-BJqSAG4_.js +7 -0
- package/lib/TimePicker-7Uqb3xJn.js +6598 -0
- package/lib/Toast.d.ts +61 -0
- package/lib/Toast.js +10 -0
- package/lib/ToastProvider-CMk1PSzB.js +264 -0
- package/lib/Toggle-BGV7Nc6t.js +59 -0
- package/lib/Toggle.d.ts +35 -0
- package/lib/Toggle.js +6 -0
- package/lib/Tooltip-DU_ATFRB.js +127 -0
- package/lib/Tooltip.d.ts +53 -0
- package/lib/Tooltip.js +8 -0
- package/lib/Typography-BcAppjDF.js +11 -0
- package/lib/Typography.d.ts +20 -0
- package/lib/Typography.js +2 -0
- package/lib/WorkspaceTable-BV5zccyt.js +100 -0
- package/lib/WorkspaceTable.d.ts +85 -0
- package/lib/WorkspaceTable.js +18 -0
- package/lib/_commonjsHelpers-fGXyuM93.js +4 -0
- package/lib/allPaths-DKtiSqHL.js +19 -0
- package/lib/allPathsLoader-Drb6xO2O.js +5 -0
- package/lib/index-B9EcTy5B.js +46 -0
- package/lib/index-BPxkexqj.js +60 -0
- package/lib/index-BROhcSiX.js +8 -0
- package/lib/index-BT1o947S.js +8 -0
- package/lib/index-BY9lf-do.js +2 -0
- package/lib/index-BdTXfGkV.js +24 -0
- package/lib/index-BnDw8kbT.js +135 -0
- package/lib/index-BrF1HKA1.js +338 -0
- package/lib/index-BxNZ3C71.js +4 -0
- package/lib/index-ByHJlnsx.js +26 -0
- package/lib/index-COoRg_pp.js +55 -0
- package/lib/index-CeIB4COQ.js +10 -0
- package/lib/index-Cjkk7z9c.js +19 -0
- package/lib/index-D6iTv28r.js +607 -0
- package/lib/index-D8E8s0tV.js +60 -0
- package/lib/index-DtILdK5l.js +48 -0
- package/lib/index-DtzckyT3.js +4 -0
- package/lib/index-Dy5ztCxm.js +27 -0
- package/lib/index-KMLwCm58.js +607 -0
- package/lib/index-_WvIFKTM.js +6 -0
- package/lib/index.d.ts +1826 -1842
- package/lib/index.js +54 -17049
- package/lib/isTypedArray-DN-UDJh5.js +89 -0
- package/lib/keyframes-PnzFl0I5.js +20 -0
- package/lib/package.json +133 -3
- package/lib/rollup.config.d.ts.map +1 -0
- package/lib/splitPathsBySizeLoader-Cm_vHo5k.js +23 -0
- package/lib/styled-components.browser.esm-Bq2p-e5F.js +479 -0
- package/lib/styles-BbwNLGy3.js +177 -0
- package/lib/styles-BlCCKAZq.js +1192 -0
- package/lib/use-toasts-GqvPVmSy.js +5 -0
- package/package.json +148 -12
- package/buildspec.yml +0 -22
- package/freemium-ui-2.0.91.tgz +0 -0
- package/lib/index.cjs.js +0 -17225
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CheckboxProps as CheckboxProps$1 } from '@radix-ui/react-checkbox';
|
|
3
|
+
|
|
4
|
+
interface CheckboxProps extends CheckboxProps$1 {
|
|
5
|
+
/**
|
|
6
|
+
* Whether the checkbox is required
|
|
7
|
+
*/
|
|
8
|
+
isRequired?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Whether the checkbox is errored
|
|
11
|
+
*/
|
|
12
|
+
isErrored?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the checkbox is readOnly
|
|
15
|
+
*/
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Label for the checkbox
|
|
19
|
+
*/
|
|
20
|
+
label?: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Checkbox displays a check box on the user interface and enables assigning a state (selected or deselected) to it. In the selected state, the check box displayed on the UI is highlighted and contains a check mark.
|
|
25
|
+
*/
|
|
26
|
+
declare const Checkbox: ({ isRequired, isErrored, className, readOnly, label, ...rest }: CheckboxProps) => React.JSX.Element;
|
|
27
|
+
|
|
28
|
+
export { Checkbox, type CheckboxProps };
|
package/lib/Checkbox.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export{C as Checkbox}from"./Checkbox-By1CgFUJ.js"
|
|
2
|
+
;import"./styled-components.browser.esm-Bq2p-e5F.js";import"react"
|
|
3
|
+
;import"./index-D8E8s0tV.js";import"./index-ByHJlnsx.js";import"react-dom"
|
|
4
|
+
;import"./index-BnDw8kbT.js";import"./keyframes-PnzFl0I5.js"
|
|
5
|
+
;import"./index-BdTXfGkV.js";import"./index-CeIB4COQ.js"
|
|
6
|
+
;import"./index-DtzckyT3.js";import"./index-BROhcSiX.js"
|
|
7
|
+
;import"./index-Dy5ztCxm.js";import"./TickIcon-BJqSAG4_.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{b as e}from"./styled-components.browser.esm-Bq2p-e5F.js"
|
|
2
|
+
;import r from"react";var t=r.forwardRef((function(t,o){
|
|
3
|
+
return r.createElement("svg",e({width:"8",height:"6",viewBox:"0 0 8 6",
|
|
4
|
+
fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{ref:o
|
|
5
|
+
}),r.createElement("path",{
|
|
6
|
+
d:"M0.696495 5.3465C0.882365 5.34499 1.06086 5.27359 1.19649 5.1465L3.99649 2.3365L6.79649 5.1465C7.07264 5.42264 7.52035 5.42264 7.79649 5.1465C8.07264 4.87035 8.07264 4.42264 7.79649 4.1465L4.49649 0.856495C4.36483 0.722118 4.18462 0.646393 3.99649 0.646393C3.80837 0.646393 3.62816 0.722118 3.49649 0.856495L0.206495 4.1465C0.00332102 4.34556 -0.0591904 4.64778 0.0483378 4.91112C0.155867 5.17445 0.412052 5.34654 0.696495 5.3465Z",
|
|
7
|
+
fill:t.fill}))}));export{t as C};
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import*as e from"react"
|
|
2
|
+
;import{useEffect as n,forwardRef as t,useState as r,useRef as o,useCallback as a,createElement as c}from"react"
|
|
3
|
+
;import{$ as i,a as u,_ as l}from"./index-ByHJlnsx.js"
|
|
4
|
+
;import{b as s}from"./index-BdTXfGkV.js"
|
|
5
|
+
;import{b as d,a as f,c as v}from"./styled-components.browser.esm-Bq2p-e5F.js"
|
|
6
|
+
;let m=0;function p(){n((()=>{var e,n
|
|
7
|
+
;const t=document.querySelectorAll("[data-radix-focus-guard]")
|
|
8
|
+
;return document.body.insertAdjacentElement("afterbegin",null!==(e=t[0])&&void 0!==e?e:h()),
|
|
9
|
+
document.body.insertAdjacentElement("beforeend",null!==(n=t[1])&&void 0!==n?n:h()),
|
|
10
|
+
m++,()=>{
|
|
11
|
+
1===m&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),
|
|
12
|
+
m--}}),[])}function h(){const e=document.createElement("span")
|
|
13
|
+
;return e.setAttribute("data-radix-focus-guard",""),
|
|
14
|
+
e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",
|
|
15
|
+
e}const g="focusScope.autoFocusOnMount",y="focusScope.autoFocusOnUnmount",E={
|
|
16
|
+
bubbles:!1,cancelable:!0},b=t(((e,t)=>{
|
|
17
|
+
const{loop:d=!1,trapped:f=!1,onMountAutoFocus:v,onUnmountAutoFocus:m,...p}=e,[h,b]=r(null),S=s(v),L=s(m),x=o(null),A=i(t,(e=>b(e))),N=o({
|
|
18
|
+
paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n((()=>{
|
|
19
|
+
if(f){function e(e){if(N.paused||!h)return;const n=e.target
|
|
20
|
+
;h.contains(n)?x.current=n:T(x.current,{select:!0})}function n(e){
|
|
21
|
+
if(N.paused||!h)return;const n=e.relatedTarget
|
|
22
|
+
;null!==n&&(h.contains(n)||T(x.current,{select:!0}))}function t(e){
|
|
23
|
+
if(document.activeElement===document.body)for(const n of e)n.removedNodes.length>0&&T(h)
|
|
24
|
+
}document.addEventListener("focusin",e),document.addEventListener("focusout",n)
|
|
25
|
+
;const r=new MutationObserver(t);return h&&r.observe(h,{childList:!0,subtree:!0
|
|
26
|
+
}),()=>{
|
|
27
|
+
document.removeEventListener("focusin",e),document.removeEventListener("focusout",n),
|
|
28
|
+
r.disconnect()}}}),[f,h,N.paused]),n((()=>{if(h){k.add(N)
|
|
29
|
+
;const n=document.activeElement;if(!h.contains(n)){const t=new CustomEvent(g,E)
|
|
30
|
+
;h.addEventListener(g,S),
|
|
31
|
+
h.dispatchEvent(t),t.defaultPrevented||(!function(e,{select:n=!1}={}){
|
|
32
|
+
const t=document.activeElement;for(const r of e)if(T(r,{select:n
|
|
33
|
+
}),document.activeElement!==t)return}((e=w(h),e.filter((e=>"A"!==e.tagName))),{
|
|
34
|
+
select:!0}),document.activeElement===n&&T(h))}return()=>{
|
|
35
|
+
h.removeEventListener(g,S),setTimeout((()=>{const e=new CustomEvent(y,E)
|
|
36
|
+
;h.addEventListener(y,L),
|
|
37
|
+
h.dispatchEvent(e),e.defaultPrevented||T(null!=n?n:document.body,{select:!0
|
|
38
|
+
}),h.removeEventListener(y,L),k.remove(N)}),0)}}var e}),[h,S,L,N])
|
|
39
|
+
;const M=a((e=>{if(!d&&!f)return;if(N.paused)return
|
|
40
|
+
;const n="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,t=document.activeElement
|
|
41
|
+
;if(n&&t){const n=e.currentTarget,[r,o]=function(e){
|
|
42
|
+
const n=w(e),t=C(n,e),r=C(n.reverse(),e);return[t,r]}(n)
|
|
43
|
+
;r&&o?e.shiftKey||t!==o?e.shiftKey&&t===r&&(e.preventDefault(),d&&T(o,{select:!0
|
|
44
|
+
})):(e.preventDefault(),d&&T(r,{select:!0})):t===n&&e.preventDefault()}
|
|
45
|
+
}),[d,f,N.paused]);return c(u.div,l({tabIndex:-1},p,{ref:A,onKeyDown:M}))}))
|
|
46
|
+
;function w(e){
|
|
47
|
+
const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{
|
|
48
|
+
acceptNode:e=>{const n="INPUT"===e.tagName&&"hidden"===e.type
|
|
49
|
+
;return e.disabled||e.hidden||n?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP
|
|
50
|
+
}});for(;t.nextNode();)n.push(t.currentNode);return n}function C(e,n){
|
|
51
|
+
for(const t of e)if(!S(t,{upTo:n}))return t}function S(e,{upTo:n}){
|
|
52
|
+
if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){
|
|
53
|
+
if(void 0!==n&&e===n)return!1;if("none"===getComputedStyle(e).display)return!0
|
|
54
|
+
;e=e.parentElement}return!1}function T(e,{select:n=!1}={}){if(e&&e.focus){
|
|
55
|
+
const t=document.activeElement;e.focus({preventScroll:!0}),e!==t&&function(e){
|
|
56
|
+
return e instanceof HTMLInputElement&&"select"in e}(e)&&n&&e.select()}}
|
|
57
|
+
const k=function(){let e=[];return{add(n){const t=e[0]
|
|
58
|
+
;n!==t&&(null==t||t.pause()),e=L(e,n),e.unshift(n)},remove(n){var t
|
|
59
|
+
;e=L(e,n),null===(t=e[0])||void 0===t||t.resume()}}}();function L(e,n){
|
|
60
|
+
const t=[...e],r=t.indexOf(n);return-1!==r&&t.splice(r,1),t}
|
|
61
|
+
var x=new WeakMap,A=new WeakMap,N={},M=0,R=function(e){
|
|
62
|
+
return e&&(e.host||R(e.parentNode))},I=function(e,n,t,r){var o=function(e,n){
|
|
63
|
+
return n.map((function(n){if(e.contains(n))return n;var t=R(n)
|
|
64
|
+
;return t&&e.contains(t)?t:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),
|
|
65
|
+
null)})).filter((function(e){return Boolean(e)}))}(n,Array.isArray(e)?e:[e])
|
|
66
|
+
;N[t]||(N[t]=new WeakMap);var a=N[t],c=[],i=new Set,u=new Set(o),l=function(e){
|
|
67
|
+
e&&!i.has(e)&&(i.add(e),l(e.parentNode))};o.forEach(l);var s=function(e){
|
|
68
|
+
e&&!u.has(e)&&Array.prototype.forEach.call(e.children,(function(e){
|
|
69
|
+
if(i.has(e))s(e);else{
|
|
70
|
+
var n=e.getAttribute(r),o=null!==n&&"false"!==n,u=(x.get(e)||0)+1,l=(a.get(e)||0)+1
|
|
71
|
+
;x.set(e,u),
|
|
72
|
+
a.set(e,l),c.push(e),1===u&&o&&A.set(e,!0),1===l&&e.setAttribute(t,"true"),
|
|
73
|
+
o||e.setAttribute(r,"true")}}))};return s(n),i.clear(),M++,function(){
|
|
74
|
+
c.forEach((function(e){var n=x.get(e)-1,o=a.get(e)-1
|
|
75
|
+
;x.set(e,n),a.set(e,o),n||(A.has(e)||e.removeAttribute(r),
|
|
76
|
+
A.delete(e)),o||e.removeAttribute(t)
|
|
77
|
+
})),--M||(x=new WeakMap,x=new WeakMap,A=new WeakMap,N={})}},P=function(e,n,t){
|
|
78
|
+
void 0===t&&(t="data-aria-hidden")
|
|
79
|
+
;var r=Array.from(Array.isArray(e)?e:[e]),o=function(e){
|
|
80
|
+
return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body
|
|
81
|
+
}(e)
|
|
82
|
+
;return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),I(r,o,t,"aria-hidden")):function(){
|
|
83
|
+
return null}},W="right-scroll-bar-position",_="width-before-scroll-bar"
|
|
84
|
+
;function F(e,n){return t=null,o=function(n){return e.forEach((function(e){
|
|
85
|
+
return function(e,n){return"function"==typeof e?e(n):e&&(e.current=n),e}(e,n)}))
|
|
86
|
+
},(a=r((function(){return{value:t,callback:o,facade:{get current(){
|
|
87
|
+
return a.value},set current(e){var n=a.value;n!==e&&(a.value=e,a.callback(e,n))}
|
|
88
|
+
}}}))[0]).callback=o,a.facade;var t,o,a}function B(e){return e}
|
|
89
|
+
var D=function(n){var t=n.sideCar,r=f(n,["sideCar"])
|
|
90
|
+
;if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car")
|
|
91
|
+
;var o=t.read();if(!o)throw new Error("Sidecar medium not found")
|
|
92
|
+
;return e.createElement(o,d({},r))};D.isSideCarExport=!0;var K=function(e){
|
|
93
|
+
void 0===e&&(e={});var n=function(e,n){void 0===n&&(n=B);var t=[],r=!1;return{
|
|
94
|
+
read:function(){
|
|
95
|
+
if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.")
|
|
96
|
+
;return t.length?t[t.length-1]:e},useMedium:function(e){var o=n(e,r)
|
|
97
|
+
;return t.push(o),function(){t=t.filter((function(e){return e!==o}))}},
|
|
98
|
+
assignSyncMedium:function(e){for(r=!0;t.length;){var n=t;t=[],n.forEach(e)}t={
|
|
99
|
+
push:function(n){return e(n)},filter:function(){return t}}},
|
|
100
|
+
assignMedium:function(e){r=!0;var n=[];if(t.length){var o=t
|
|
101
|
+
;t=[],o.forEach(e),n=t}var a=function(){var t=n;n=[],t.forEach(e)},c=function(){
|
|
102
|
+
return Promise.resolve().then(a)};c(),t={push:function(e){n.push(e),c()},
|
|
103
|
+
filter:function(e){return n=n.filter(e),t}}}}}(null);return n.options=d({
|
|
104
|
+
async:!0,ssr:!1},e),n}(),j=function(){},X=e.forwardRef((function(n,t){
|
|
105
|
+
var r=e.useRef(null),o=e.useState({onScrollCapture:j,onWheelCapture:j,
|
|
106
|
+
onTouchMoveCapture:j
|
|
107
|
+
}),a=o[0],c=o[1],i=n.forwardProps,u=n.children,l=n.className,s=n.removeScrollBar,v=n.enabled,m=n.shards,p=n.sideCar,h=n.noIsolation,g=n.inert,y=n.allowPinchZoom,E=n.as,b=void 0===E?"div":E,w=f(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),C=p,S=F([r,t]),T=d(d({},w),a)
|
|
108
|
+
;return e.createElement(e.Fragment,null,v&&e.createElement(C,{sideCar:K,
|
|
109
|
+
removeScrollBar:s,shards:m,noIsolation:h,inert:g,setCallbacks:c,
|
|
110
|
+
allowPinchZoom:!!y,lockRef:r}),i?e.cloneElement(e.Children.only(u),d(d({},T),{
|
|
111
|
+
ref:S})):e.createElement(b,d({},T,{className:l,ref:S}),u))}));X.defaultProps={
|
|
112
|
+
enabled:!0,removeScrollBar:!0,inert:!1},X.classNames={fullWidth:_,zeroRight:W}
|
|
113
|
+
;function Y(){if(!document)return null;var e=document.createElement("style")
|
|
114
|
+
;e.type="text/css";var n=function(){
|
|
115
|
+
if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}()
|
|
116
|
+
;return n&&e.setAttribute("nonce",n),e}var O=function(){var e=0,n=null;return{
|
|
117
|
+
add:function(t){var r,o
|
|
118
|
+
;0==e&&(n=Y())&&(o=t,(r=n).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),
|
|
119
|
+
function(e){
|
|
120
|
+
(document.head||document.getElementsByTagName("head")[0]).appendChild(e)
|
|
121
|
+
}(n)),e++},remove:function(){
|
|
122
|
+
! --e&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},H=function(){
|
|
123
|
+
var n,t=(n=O(),function(t,r){e.useEffect((function(){return n.add(t),function(){
|
|
124
|
+
n.remove()}}),[t&&r])});return function(e){var n=e.styles,r=e.dynamic
|
|
125
|
+
;return t(n,r),null}},Z={left:0,top:0,right:0,gap:0},q=function(e){
|
|
126
|
+
return parseInt(e||"",10)||0},U=function(e){
|
|
127
|
+
if(void 0===e&&(e="margin"),"undefined"==typeof window)return Z
|
|
128
|
+
;var n=function(e){
|
|
129
|
+
var n=window.getComputedStyle(document.body),t=n["padding"===e?"paddingLeft":"marginLeft"],r=n["padding"===e?"paddingTop":"marginTop"],o=n["padding"===e?"paddingRight":"marginRight"]
|
|
130
|
+
;return[q(t),q(r),q(o)]
|
|
131
|
+
}(e),t=document.documentElement.clientWidth,r=window.innerWidth;return{
|
|
132
|
+
left:n[0],top:n[1],right:n[2],gap:Math.max(0,r-t+n[2]-n[0])}
|
|
133
|
+
},z=H(),$=function(e,n,t,r){var o=e.left,a=e.top,c=e.right,i=e.gap
|
|
134
|
+
;return void 0===t&&(t="margin"),
|
|
135
|
+
"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(i,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([n&&"position: relative ".concat(r,";"),"margin"===t&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(c,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(i,"px ").concat(r,";\n "),"padding"===t&&"padding-right: ".concat(i,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(W," {\n right: ").concat(i,"px ").concat(r,";\n }\n \n .").concat(_," {\n margin-right: ").concat(i,"px ").concat(r,";\n }\n \n .").concat(W," .").concat(W," {\n right: 0 ").concat(r,";\n }\n \n .").concat(_," .").concat(_," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(i,"px;\n }\n")
|
|
136
|
+
},G=function(n){
|
|
137
|
+
var t=n.noRelative,r=n.noImportant,o=n.gapMode,a=void 0===o?"margin":o,c=e.useMemo((function(){
|
|
138
|
+
return U(a)}),[a]);return e.createElement(z,{styles:$(c,!t,a,r?"":"!important")
|
|
139
|
+
})},J=!1;if("undefined"!=typeof window)try{
|
|
140
|
+
var Q=Object.defineProperty({},"passive",{get:function(){return J=!0,!0}})
|
|
141
|
+
;window.addEventListener("test",Q,Q),window.removeEventListener("test",Q,Q)
|
|
142
|
+
}catch(e){J=!1}var V=!!J&&{passive:!1},ee=function(e,n){
|
|
143
|
+
var t=window.getComputedStyle(e)
|
|
144
|
+
;return"hidden"!==t[n]&&!(t.overflowY===t.overflowX&&!function(e){
|
|
145
|
+
return"TEXTAREA"===e.tagName}(e)&&"visible"===t[n])},ne=function(e,n){var t=n
|
|
146
|
+
;do{
|
|
147
|
+
if("undefined"!=typeof ShadowRoot&&t instanceof ShadowRoot&&(t=t.host),te(e,t)){
|
|
148
|
+
var r=re(e,t);if(r[1]>r[2])return!0}t=t.parentNode}while(t&&t!==document.body)
|
|
149
|
+
;return!1},te=function(e,n){return"v"===e?function(e){return ee(e,"overflowY")
|
|
150
|
+
}(n):function(e){return ee(e,"overflowX")}(n)},re=function(e,n){
|
|
151
|
+
return"v"===e?[(t=n).scrollTop,t.scrollHeight,t.clientHeight]:function(e){
|
|
152
|
+
return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(n);var t},oe=function(e){
|
|
153
|
+
return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]
|
|
154
|
+
},ae=function(e){return[e.deltaX,e.deltaY]},ce=function(e){
|
|
155
|
+
return e&&"current"in e?e.current:e},ie=function(e){
|
|
156
|
+
return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")
|
|
157
|
+
},ue=0,le=[];var se,de=(se=function(n){
|
|
158
|
+
var t=e.useRef([]),r=e.useRef([0,0]),o=e.useRef(),a=e.useState(ue++)[0],c=e.useState((function(){
|
|
159
|
+
return H()}))[0],i=e.useRef(n);e.useEffect((function(){i.current=n
|
|
160
|
+
}),[n]),e.useEffect((function(){if(n.inert){
|
|
161
|
+
document.body.classList.add("block-interactivity-".concat(a))
|
|
162
|
+
;var e=v([n.lockRef.current],(n.shards||[]).map(ce),!0).filter(Boolean)
|
|
163
|
+
;return e.forEach((function(e){
|
|
164
|
+
return e.classList.add("allow-interactivity-".concat(a))})),function(){
|
|
165
|
+
document.body.classList.remove("block-interactivity-".concat(a)),
|
|
166
|
+
e.forEach((function(e){
|
|
167
|
+
return e.classList.remove("allow-interactivity-".concat(a))}))}}
|
|
168
|
+
}),[n.inert,n.lockRef.current,n.shards]);var u=e.useCallback((function(e,n){
|
|
169
|
+
if("touches"in e&&2===e.touches.length)return!i.current.allowPinchZoom
|
|
170
|
+
;var t,a=oe(e),c=r.current,u="deltaX"in e?e.deltaX:c[0]-a[0],l="deltaY"in e?e.deltaY:c[1]-a[1],s=e.target,d=Math.abs(u)>Math.abs(l)?"h":"v"
|
|
171
|
+
;if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=ne(d,s)
|
|
172
|
+
;if(!f)return!0;if(f?t=d:(t="v"===d?"h":"v",f=ne(d,s)),!f)return!1
|
|
173
|
+
;if(!o.current&&"changedTouches"in e&&(u||l)&&(o.current=t),!t)return!0
|
|
174
|
+
;var v=o.current||t;return function(e,n,t,r,o){var a=function(e,n){
|
|
175
|
+
return"h"===e&&"rtl"===n?-1:1
|
|
176
|
+
}(e,window.getComputedStyle(n).direction),c=a*r,i=t.target,u=n.contains(i),l=!1,s=c>0,d=0,f=0
|
|
177
|
+
;do{var v=re(e,i),m=v[0],p=v[1]-v[2]-a*m
|
|
178
|
+
;(m||p)&&te(e,i)&&(d+=p,f+=m),i=i.parentNode
|
|
179
|
+
}while(!u&&i!==document.body||u&&(n.contains(i)||n===i))
|
|
180
|
+
;return(!s||0!==d&&o)&&(s||0!==f&&o)||(l=!0),l}(v,n,e,"h"===v?u:l,!0)
|
|
181
|
+
}),[]),l=e.useCallback((function(e){var n=e;if(le.length&&le[le.length-1]===c){
|
|
182
|
+
var r="deltaY"in n?ae(n):oe(n),o=t.current.filter((function(e){
|
|
183
|
+
return e.name===n.type&&e.target===n.target&&(t=e.delta,
|
|
184
|
+
o=r,t[0]===o[0]&&t[1]===o[1]);var t,o}))[0]
|
|
185
|
+
;if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){
|
|
186
|
+
var a=(i.current.shards||[]).map(ce).filter(Boolean).filter((function(e){
|
|
187
|
+
return e.contains(n.target)}))
|
|
188
|
+
;(a.length>0?u(n,a[0]):!i.current.noIsolation)&&n.cancelable&&n.preventDefault()
|
|
189
|
+
}}}),[]),s=e.useCallback((function(e,n,r,o){var a={name:e,delta:n,target:r,
|
|
190
|
+
should:o};t.current.push(a),setTimeout((function(){
|
|
191
|
+
t.current=t.current.filter((function(e){return e!==a}))}),1)
|
|
192
|
+
}),[]),d=e.useCallback((function(e){r.current=oe(e),o.current=void 0
|
|
193
|
+
}),[]),f=e.useCallback((function(e){
|
|
194
|
+
s(e.type,ae(e),e.target,u(e,n.lockRef.current))
|
|
195
|
+
}),[]),m=e.useCallback((function(e){
|
|
196
|
+
s(e.type,oe(e),e.target,u(e,n.lockRef.current))}),[]);e.useEffect((function(){
|
|
197
|
+
return le.push(c),n.setCallbacks({onScrollCapture:f,onWheelCapture:f,
|
|
198
|
+
onTouchMoveCapture:m
|
|
199
|
+
}),document.addEventListener("wheel",l,V),document.addEventListener("touchmove",l,V),
|
|
200
|
+
document.addEventListener("touchstart",d,V),function(){
|
|
201
|
+
le=le.filter((function(e){return e!==c
|
|
202
|
+
})),document.removeEventListener("wheel",l,V),
|
|
203
|
+
document.removeEventListener("touchmove",l,V),
|
|
204
|
+
document.removeEventListener("touchstart",d,V)}}),[])
|
|
205
|
+
;var p=n.removeScrollBar,h=n.inert
|
|
206
|
+
;return e.createElement(e.Fragment,null,h?e.createElement(c,{styles:ie(a)
|
|
207
|
+
}):null,p?e.createElement(G,{gapMode:"margin"}):null)
|
|
208
|
+
},K.useMedium(se),D),fe=e.forwardRef((function(n,t){
|
|
209
|
+
return e.createElement(X,d({},n,{ref:t,sideCar:de}))}))
|
|
210
|
+
;fe.classNames=X.classNames;export{p as $,fe as R,b as a,P as h};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import{u as n,_ as t,f as e,e as o,b as r}from"./styled-components.browser.esm-Bq2p-e5F.js"
|
|
2
|
+
;import i,{createElement as a,forwardRef as l,useRef as s}from"react"
|
|
3
|
+
;import{_ as c,$ as p,c as u}from"./index-ByHJlnsx.js"
|
|
4
|
+
;import{$ as m}from"./index-BdTXfGkV.js"
|
|
5
|
+
;import{$ as d,a as f,b as g,c as h,d as x,e as y,f as b,g as D,h as v}from"./index-BPxkexqj.js"
|
|
6
|
+
;import{$ as A}from"./index-CeIB4COQ.js"
|
|
7
|
+
;import{f as _,g as C}from"./index-D8E8s0tV.js"
|
|
8
|
+
;import{c as w,d as E}from"./keyframes-PnzFl0I5.js"
|
|
9
|
+
;import{B as j}from"./Button-Bd1O8_k7.js"
|
|
10
|
+
;const[k,O]=m("AlertDialog",[d]),z=d(),F=l(((n,t)=>{
|
|
11
|
+
const{__scopeAlertDialog:e,...o}=n,r=z(e);return a(h,c({},r,o,{ref:t}))
|
|
12
|
+
})),S="AlertDialogContent",[$,B]=k(S),N=l(((n,t)=>{
|
|
13
|
+
const{__scopeAlertDialog:e,children:o,...r}=n,i=z(e),l=s(null),m=p(t,l),d=s(null)
|
|
14
|
+
;return a(x,{contentName:S,titleName:T,docsSlug:"alert-dialog"},a($,{scope:e,
|
|
15
|
+
cancelRef:d},a(y,c({role:"alertdialog"},i,r,{ref:m,
|
|
16
|
+
onOpenAutoFocus:A(r.onOpenAutoFocus,(n=>{var t
|
|
17
|
+
;n.preventDefault(),null===(t=d.current)||void 0===t||t.focus({preventScroll:!0
|
|
18
|
+
})})),onPointerDownOutside:n=>n.preventDefault(),
|
|
19
|
+
onInteractOutside:n=>n.preventDefault()}),a(u,null,o),!1)))
|
|
20
|
+
})),T="AlertDialogTitle",H=l(((n,t)=>{const{__scopeAlertDialog:e,...o}=n,r=z(e)
|
|
21
|
+
;return a(b,c({},r,o,{ref:t}))})),I=l(((n,t)=>{
|
|
22
|
+
const{__scopeAlertDialog:e,...o}=n,r=z(e);return a(D,c({},r,o,{ref:t}))
|
|
23
|
+
})),M=n=>{const{__scopeAlertDialog:t,...e}=n,o=z(t);return a(g,c({},o,e))
|
|
24
|
+
},R=F,W=N,P=l(((n,t)=>{const{__scopeAlertDialog:e,...o}=n,r=z(e)
|
|
25
|
+
;return a(v,c({},r,o,{ref:t}))})),q=l(((n,t)=>{
|
|
26
|
+
const{__scopeAlertDialog:e,...o}=n,{cancelRef:r}=B("AlertDialogCancel",e),i=z(e),l=p(t,r)
|
|
27
|
+
;return a(v,c({},i,o,{ref:l}))})),G=H,J=I;var K,L,Q,U,V,X,Y,Z,nn,tn,en=n((n=>{
|
|
28
|
+
const{__scopeAlertDialog:t,...e}=n,o=z(t);return a(f,c({},o,e,{modal:!0}))
|
|
29
|
+
}))(K||(K=t([""],[""]))),on=n(M)(L||(L=t([""],[""]))),rn=n(q)(Q||(Q=t([""],[""]))),an=n(P)(U||(U=t([""],[""]))),ln=n(R)(V||(V=t(["\n ","\n"],["\n ","\n"])),_),sn=n(W)(X||(X=t(["\n ","\n top: 0;\n left: 50%;\n transform: translate(-50%, 0);\n min-width: 500px;\n max-width: 540px;\n max-height: 85vh;\n border-bottom-right-radius: 8px;\n border-bottom-left-radius: 8px;\n animation-duration: ",";\n animation-timing-function: ",";\n color: ",";\n &:focus {\n outline: none;\n }\n &[data-state='open'] {\n animation-name: ",";\n }\n &[data-state='closed'] {\n animation-name: ",";\n }\n"],["\n ","\n top: 0;\n left: 50%;\n transform: translate(-50%, 0);\n min-width: 500px;\n max-width: 540px;\n max-height: 85vh;\n border-bottom-right-radius: 8px;\n border-bottom-left-radius: 8px;\n animation-duration: ",";\n animation-timing-function: ",";\n color: ",";\n &:focus {\n outline: none;\n }\n &[data-state='open'] {\n animation-name: ",";\n }\n &[data-state='closed'] {\n animation-name: ",";\n }\n"])),C,(function(n){
|
|
30
|
+
return n.theme.transitions.duration.standard}),(function(n){
|
|
31
|
+
return n.theme.transitions.easing.easeIn}),(function(n){
|
|
32
|
+
return n.theme.colors.text.primary
|
|
33
|
+
}),w,E),cn=n(G)(Y||(Y=t(["\n color: ",";\n font-family: ",";\n font-size: ",";\n line-height: ",";\n font-weight: ",";\n direction: ",";\n margin: 0;\n letter-spacing: unset;\n padding: 32px 32px\n "," 32px;\n"],["\n color: ",";\n font-family: ",";\n font-size: ",";\n line-height: ",";\n font-weight: ",";\n direction: ",";\n margin: 0;\n letter-spacing: unset;\n padding: 32px 32px\n "," 32px;\n"])),(function(n){
|
|
34
|
+
return n.theme.colors.text.primary}),(function(n){
|
|
35
|
+
return n.theme.typography.fontFamily}),(function(n){
|
|
36
|
+
return n.theme.typography.heading4.fontSize}),(function(n){
|
|
37
|
+
return n.theme.typography.heading4.lineHeight}),(function(n){
|
|
38
|
+
return n.theme.typography.fontWeight["semi-bold"]}),(function(n){
|
|
39
|
+
return n.theme.direction}),(function(n){return n.$hasdescription?"0px":"16px"
|
|
40
|
+
})),pn=n(J)(Z||(Z=t(["\n color: ",";\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n direction: ",";\n letter-spacing: 0px;\n padding: 0 32px 0px 32px;\n letter-spacing: unset;\n margin: 10px 0px 24px !important;\n"],["\n color: ",";\n font-family: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n direction: ",";\n letter-spacing: 0px;\n padding: 0 32px 0px 32px;\n letter-spacing: unset;\n margin: 10px 0px 24px !important;\n"])),(function(n){
|
|
41
|
+
return n.theme.colors.text.primary}),(function(n){
|
|
42
|
+
return n.theme.typography.fontFamily}),(function(n){
|
|
43
|
+
return n.theme.typography.primary.fontSize}),(function(n){
|
|
44
|
+
return n.theme.typography.fontWeight.regular}),(function(n){
|
|
45
|
+
return n.theme.typography.primary.lineHeight}),(function(n){
|
|
46
|
+
return n.theme.direction
|
|
47
|
+
})),un=n.div(tn||(tn=t(["\n border-bottom-right-radius: 8px;\n border-bottom-left-radius: 8px;\n border-top: 1px solid ",";\n background-color: ",";\n display: flex;\n padding: 16px;\n gap: 12px;\n justify-content: flex-end;\n\n ","\n"],["\n border-bottom-right-radius: 8px;\n border-bottom-left-radius: 8px;\n border-top: 1px solid ",";\n background-color: ",";\n display: flex;\n padding: 16px;\n gap: 12px;\n justify-content: flex-end;\n\n ","\n"])),(function(n){
|
|
48
|
+
return n.theme.colors.border.light}),(function(n){
|
|
49
|
+
return n.theme.colors.fill.base}),(function(n){var o=n.theme
|
|
50
|
+
;return"dark"===o.mode&&e(nn||(nn=t(["\n border-top: 1px solid ",";\n "],["\n border-top: 1px solid ",";\n "])),o.colors.fill.base)
|
|
51
|
+
})),mn=function(n){
|
|
52
|
+
var t=n.isOpen,e=n.title,a=n.description,l=n.onConfirm,s=n.onDismiss,c=n.cancelButtonText,p=n.children,u=n.cancelButtonDisabled,m=n.confirmButtonDisabled,d=n.confirmButtonText,f=n.clickOutToClose,g=void 0!==f&&f,h=n.bodyStyles,x=n.contentStyles,y=n.footerStyles,b=n.width,D=void 0===b?"520px":b,v=o()
|
|
53
|
+
;return i.createElement(en,{open:t,onOpenChange:function(n){
|
|
54
|
+
n||null==s||s("root")}},i.createElement(on,null,i.createElement(ln,{
|
|
55
|
+
forceMount:!0,style:h,className:"AlertDialogOverlay",onClick:function(n){
|
|
56
|
+
g&&(null==s||s("overlay",n))}}),i.createElement(sn,{forceMount:!0,
|
|
57
|
+
className:"AlertDialogContent",style:r(r({},x),{width:D}),dir:v.direction
|
|
58
|
+
},e&&i.createElement(cn,{$hasdescription:!!a,className:"AlertDialogTitle"
|
|
59
|
+
},e),a&&i.createElement(pn,{$hasChildren:!!p,className:"AlertDialogDescription"
|
|
60
|
+
},a),p?i.createElement(i.Fragment,null,p):null,i.createElement(un,{style:y
|
|
61
|
+
},c&&i.createElement(rn,{asChild:!0},i.createElement(j,{variant:"secondary",
|
|
62
|
+
autoFocus:!0,"aria-disabled":u,disabled:u,onClick:function(n){
|
|
63
|
+
n.preventDefault(),null==s||s("button",n)},"aria-label":c
|
|
64
|
+
},c)),d&&i.createElement(an,{asChild:!0},i.createElement(j,{variant:"primary",
|
|
65
|
+
"aria-disabled":m,disabled:m,onClick:function(n){
|
|
66
|
+
n.preventDefault(),null==l||l(n)},"aria-label":d},d))))))};export{mn as C};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React$1 from 'react';
|
|
3
|
+
|
|
4
|
+
interface ConfirmationProps {
|
|
5
|
+
/**
|
|
6
|
+
* Is the confirmation open
|
|
7
|
+
*/
|
|
8
|
+
isOpen?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* The children or label
|
|
11
|
+
*/
|
|
12
|
+
children?: React.ReactNode | string;
|
|
13
|
+
/**
|
|
14
|
+
* Is the confirm button disabled
|
|
15
|
+
*/
|
|
16
|
+
confirmButtonDisabled?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Is the cancel button disabled
|
|
19
|
+
*/
|
|
20
|
+
cancelButtonDisabled?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Should the confirmation close when clicking outside
|
|
23
|
+
*/
|
|
24
|
+
clickOutToClose?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Title of the confirmation
|
|
27
|
+
*/
|
|
28
|
+
title?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Description of the confirmation
|
|
31
|
+
*/
|
|
32
|
+
description?: React.ReactNode | string;
|
|
33
|
+
/**
|
|
34
|
+
* Width of the confirmation
|
|
35
|
+
*/
|
|
36
|
+
width?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Function to be called when the confirmation is dismissed
|
|
39
|
+
*/
|
|
40
|
+
onDismiss?: (type: 'overlay' | 'button' | 'root', event?: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
41
|
+
/**
|
|
42
|
+
* Function to be called when the confirmation is confirmed
|
|
43
|
+
*/
|
|
44
|
+
onConfirm?: React.DOMAttributes<HTMLButtonElement>['onClick'];
|
|
45
|
+
/**
|
|
46
|
+
* Confirm button text
|
|
47
|
+
*/
|
|
48
|
+
confirmButtonText?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Cancel button text
|
|
51
|
+
*/
|
|
52
|
+
cancelButtonText?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Styles for the overlay
|
|
55
|
+
*/
|
|
56
|
+
bodyStyles?: React.CSSProperties;
|
|
57
|
+
/**
|
|
58
|
+
* Styles for the content
|
|
59
|
+
*/
|
|
60
|
+
contentStyles?: React.CSSProperties;
|
|
61
|
+
/**
|
|
62
|
+
* Styles for the footer
|
|
63
|
+
*/
|
|
64
|
+
footerStyles?: React.CSSProperties;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Confirmation component is used to show a confirmation dialog to the user. It is used to confirm an action before it is executed.
|
|
69
|
+
*/
|
|
70
|
+
declare const Confirmation: ({ isOpen, title, description, onConfirm, onDismiss, cancelButtonText, children, cancelButtonDisabled, confirmButtonDisabled, confirmButtonText, clickOutToClose, bodyStyles, contentStyles, footerStyles, width, }: ConfirmationProps) => React$1.JSX.Element;
|
|
71
|
+
|
|
72
|
+
export { Confirmation, type ConfirmationProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export{C as Confirmation}from"./Confirmation-49GhlyzQ.js"
|
|
2
|
+
;import"./styled-components.browser.esm-Bq2p-e5F.js";import"react"
|
|
3
|
+
;import"./index-ByHJlnsx.js";import"react-dom";import"./index-BdTXfGkV.js"
|
|
4
|
+
;import"./index-BPxkexqj.js";import"./index-CeIB4COQ.js"
|
|
5
|
+
;import"./index-BxNZ3C71.js";import"./index-COoRg_pp.js"
|
|
6
|
+
;import"./Combination-AmN1Cqrf.js";import"./index-Dy5ztCxm.js"
|
|
7
|
+
;import"./index-D8E8s0tV.js";import"./index-BnDw8kbT.js"
|
|
8
|
+
;import"./keyframes-PnzFl0I5.js";import"./Button-Bd1O8_k7.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{b as e}from"./styled-components.browser.esm-Bq2p-e5F.js"
|
|
2
|
+
;import r from"react";var t=r.forwardRef((function(t,C){
|
|
3
|
+
return r.createElement("svg",e({width:"8",height:"8",viewBox:"0 0 8 8",
|
|
4
|
+
fill:"none",xmlns:"http://www.w3.org/2000/svg"},t,{ref:C
|
|
5
|
+
}),r.createElement("path",{
|
|
6
|
+
d:"M5.29058 3.96971L7.72863 1.59934C8.09046 1.23484 8.09046 0.646977 7.72863 0.28247C7.55697 0.102105 7.31879 0 7.0697 0C6.8206 0 6.58242 0.102105 6.41076 0.28247L3.97271 2.65284L1.60055 0.295638C1.42889 0.115274 1.19071 0.0131687 0.941616 0.0131687C0.692525 0.0131687 0.454339 0.115274 0.282683 0.295638C0.102182 0.467165 0 0.705171 0 0.954075C0 1.20298 0.102182 1.44098 0.282683 1.61251L2.65484 3.96971L0.295861 6.4191C0.115361 6.59062 0.0131787 6.82863 0.0131787 7.07753C0.0131787 7.32644 0.115361 7.56444 0.295861 7.73597C0.468326 7.90482 0.700166 7.99938 0.941616 7.99934C1.18657 7.99736 1.4218 7.90334 1.60055 7.73597L3.97271 5.28659L6.42394 7.7228C6.59641 7.89165 6.82825 7.98621 7.0697 7.98618C7.31465 7.98419 7.54988 7.89017 7.72863 7.7228C8.09046 7.35829 8.09046 6.77044 7.72863 6.40593L5.29058 3.96971Z",
|
|
7
|
+
fill:t.fill}))}));export{t as C};
|