@av-digital/components 0.2.5 → 0.2.6
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/index.css +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._btn_14sug_1{display:flex;align-items:center;justify-content:center;font-weight:500;font-family:inherit;border:none;cursor:pointer;line-height:1;white-space:nowrap;transition:background-color .2s ease;padding:0 var(--root-avdig-button-pad-md);height:var(--root-avdig-button-height-md);font-size:var(--root-avdig-button-font-size-md)}._btn_14sug_1[data-variant=primary]{background:var(--root-avdig-button-primary-background);color:var(--root-avdig-button-primary-text-color);border-radius:8%}._btn_14sug_1[data-variant=secondary]{background:0;border:2px solid var(--root-avdig-button-secondary-background);color:var(--root-avdig-button-secondary-background);border-radius:8%}._btn_14sug_1[data-size=sm]{padding:0 var(--root-avdig-button-pad-sm);height:var(--root-avdig-button-height-sm);font-size:var(--root-avdig-button-font-size-sm)}._btn_14sug_1[data-size=md]{padding:0 var(--root-avdig-button-pad-md);height:var(--root-avdig-button-height-md);font-size:var(--root-avdig-button-font-size-md)}._btn_14sug_1[data-size=lg]{padding:0 var(--root-avdig-button-pad-lg);height:var(--root-avdig-button-height-lg);font-size:var(--root-avdig-button-font-size-lg)}@keyframes _rotation_1vxmk_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._spinner_1vxmk_9{width:48px;height:48px;border:5px solid #dbdbdb;border-bottom-color:#000;border-radius:50%;display:inline-block;box-sizing:border-box;animation:_rotation_1vxmk_1 1s linear infinite}._spinner_1vxmk_9[data-variant=primary]{border-bottom-color:var(--root-avdig-spinner-primary-color)}._spinner_1vxmk_9[data-variant=secondary]{border-bottom-color:var(--root-avdig-spinner-secondary-color)}._dropdown_zxffd_1{display:flex;flex-direction:column;height:var()}._dropdown_zxffd_1[data-variant=primary]{background:var(--root-avdig-dropdown-primary-background);width:var(--root-avdig-dropdown-primary-width);color:var(--root-avdig-dropdown-primary-text-color)}._dropdown_zxffd_1[data-variant=secondary]{background:var(--root-avdig-dropdown-secondary-background);width:var(--root-avdig-dropdown-primary-width);color:var(--root-avdig-dropdown-secondary-text-color)}._dropdown_zxffd_1 ._dropdown__title_zxffd_16{padding:.5rem 1rem;cursor:pointer}._dropdown_zxffd_1 ._dropdown__content_zxffd_21{display:none}._dropdown_zxffd_1:hover ._dropdown__content_zxffd_21{display:flex;width:100%;flex-direction:row;padding:.5rem 1rem;justify-content:space-between}._dropdown_zxffd_1 ._dropdown__content_zxffd_21:hover{background-color:#ececec;color:#000}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n, jsxs as p } from "react/jsx-runtime";
|
|
2
|
-
const w = "
|
|
2
|
+
const w = "_btn_14sug_1", h = {
|
|
3
3
|
btn: w
|
|
4
4
|
}, y = ({ children: a, className: d, variant: o, size: r, ...e }) => /* @__PURE__ */ n("button", { "data-variant": o || "primary", "data-size": r, className: `${h.btn} ${d}`, ...e, children: a }), m = "_spinner_1vxmk_9", f = {
|
|
5
5
|
spinner: m
|