@pismo/marola 1.0.0-beta.22 → 1.0.0-beta.23

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.
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../clsx-DB4S2d7J.js";
4
4
  import "../Typography/Typography.js";
5
- import { S as e } from "../../SelectButton-CoOT2txy.js";
5
+ import { S as e } from "../../SelectButton-oWzluvmj.js";
6
6
  export {
7
7
  e as SelectButton
8
8
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pismo/marola",
3
3
  "description": "CDX tribe component library",
4
- "version": "1.0.0-beta.22",
4
+ "version": "1.0.0-beta.23",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -1,61 +0,0 @@
1
- import './assets/SelectButton.css';
2
- import { jsxs as c, jsx as _ } from "react/jsx-runtime";
3
- import * as o from "react";
4
- import { forwardRef as y } from "react";
5
- import { c as u } from "./clsx-DB4S2d7J.js";
6
- import { Typography as p } from "./components/Typography/Typography.js";
7
- const g = "_select__listbox__option__text_jbvcl_65", v = "_select_jbvcl_65", x = "_select__popup_jbvcl_81", d = "_select__listbox_jbvcl_65", j = "_select__listbox__option_jbvcl_65", m = "_select__listbox__option__icon_jbvcl_102", w = "_select__list__option__icon_jbvcl_123", e = {
8
- "u-typography-h1": "_u-typography-h1_jbvcl_1",
9
- "u-typography-h2": "_u-typography-h2_jbvcl_8",
10
- "u-typography-h3": "_u-typography-h3_jbvcl_15",
11
- "u-typography-h4": "_u-typography-h4_jbvcl_22",
12
- "u-typography-h5": "_u-typography-h5_jbvcl_29",
13
- "u-typography-h6": "_u-typography-h6_jbvcl_36",
14
- "u-typography-base": "_u-typography-base_jbvcl_43",
15
- "u-typography-base--xxl": "_u-typography-base--xxl_jbvcl_49",
16
- "u-typography-base--xl": "_u-typography-base--xl_jbvcl_53",
17
- "u-typography-base--lg": "_u-typography-base--lg_jbvcl_57",
18
- "u-typography-base--sm": "_u-typography-base--sm_jbvcl_61",
19
- "u-typography-base--bold": "_u-typography-base--bold_jbvcl_65",
20
- select__listbox__option__text: g,
21
- "u-typography-base--strikethrough": "_u-typography-base--strikethrough_jbvcl_68",
22
- "u-typography-base--underlined": "_u-typography-base--underlined_jbvcl_71",
23
- "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_jbvcl_74",
24
- select: v,
25
- select__popup: x,
26
- select__listbox: d,
27
- select__listbox__option: j,
28
- select__listbox__option__icon: m,
29
- "select__listbox__option--disabled": "_select__listbox__option--disabled_jbvcl_106",
30
- "select__listbox__option--selected": "_select__listbox__option--selected_jbvcl_115",
31
- select__list__option__icon: w,
32
- "select-button": "_select-button_jbvcl_128",
33
- "base-Select-popup": "_base-Select-popup_jbvcl_146",
34
- "select-button__text": "_select-button__text_jbvcl_149",
35
- "select-button__icon": "_select-button__icon_jbvcl_158",
36
- "select-button--active": "_select-button--active_jbvcl_164"
37
- }, C = (t) => /* @__PURE__ */ o.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ o.createElement("path", { d: "M2.11104 4.9999C2.36691 4.9999 2.62291 5.09756 2.81791 5.29287L8.11104 10.5843L13.4048 5.29053C13.7954 4.8999 14.4282 4.8999 14.8188 5.29053C15.2095 5.68115 15.2095 6.31396 14.8188 6.70459L8.81885 12.7046C8.42822 13.0952 7.79541 13.0952 7.40479 12.7046L1.40479 6.70459C1.01416 6.31396 1.01416 5.68115 1.40479 5.29053C1.59854 5.09678 1.85479 4.9999 2.11104 4.9999Z", fill: "currentColor" })), f = (t) => /* @__PURE__ */ o.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ o.createElement("path", { d: "M13.8889 11C13.633 11 13.377 10.9023 13.182 10.707L7.8889 5.41563L2.59515 10.7094C2.20453 11.1 1.57172 11.1 1.18109 10.7094C0.790466 10.3188 0.790466 9.68594 1.18109 9.29532L7.18109 3.29532C7.57172 2.90469 8.20453 2.90469 8.59515 3.29532L14.5952 9.29532C14.9858 9.68594 14.9858 10.3188 14.5952 10.7094C14.4014 10.9031 14.1452 11 13.8889 11Z", fill: "#3F3D4B", fillOpacity: 0.88 })), E = y((t, a) => {
38
- const { children: i, disabled: b, className: n, "data-testid": r, prefix: l, onClick: h } = t, s = t["aria-expanded"];
39
- return /* @__PURE__ */ c(
40
- "button",
41
- {
42
- className: u(n, s ? e["select-button--active"] : "", e["select-button"]),
43
- type: "button",
44
- onClick: h,
45
- disabled: b,
46
- "data-testid": r,
47
- ref: a,
48
- children: [
49
- /* @__PURE__ */ c("span", { className: e["select-button__text"], children: [
50
- l && /* @__PURE__ */ _(p, { children: l }),
51
- /* @__PURE__ */ _(p, { children: i })
52
- ] }),
53
- /* @__PURE__ */ _("span", { className: e["select-button__icon"], children: s ? /* @__PURE__ */ _(f, {}) : /* @__PURE__ */ _(C, {}) })
54
- ]
55
- }
56
- );
57
- });
58
- export {
59
- E as S,
60
- e as s
61
- };