@wistia/ui 0.6.23 → 0.6.24

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.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.6.23
3
+ * @license @wistia/ui v0.6.24
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -7676,18 +7676,33 @@ var inputSizeSmall = import_styled_components34.css`
7676
7676
  height: 14px;
7677
7677
  min-width: 14px;
7678
7678
  min-height: 14px;
7679
+
7680
+ svg {
7681
+ width: 7px;
7682
+ height: 7px;
7683
+ }
7679
7684
  `;
7680
7685
  var inputSizeMedium = import_styled_components34.css`
7681
7686
  width: 16px;
7682
7687
  height: 16px;
7683
7688
  min-width: 16px;
7684
7689
  min-height: 16px;
7690
+
7691
+ svg {
7692
+ width: 9px;
7693
+ height: 9px;
7694
+ }
7685
7695
  `;
7686
7696
  var inputSizeLarge = import_styled_components34.css`
7687
7697
  width: 20px;
7688
7698
  height: 20px;
7689
7699
  min-width: 20px;
7690
7700
  min-height: 20px;
7701
+
7702
+ svg {
7703
+ width: 11px;
7704
+ height: 11px;
7705
+ }
7691
7706
  `;
7692
7707
  var getSizeCss = (size) => {
7693
7708
  if (size === "sm") return inputSizeSmall;
@@ -7709,9 +7724,10 @@ var StyledCheckboxInput = import_styled_components34.default.div`
7709
7724
  display: grid;
7710
7725
  place-content: center;
7711
7726
  align-self: flex-start;
7727
+ border-width: 1px;
7728
+ border-style: solid;
7729
+ border-color: ${({ $disabled }) => $disabled ? "var(--wui-color-bg-border-disabled)" : "var(--wui-color-border)"};
7712
7730
  background-color: ${({ $disabled }) => $disabled ? "var(--wui-color-bg-surface-disabled)" : "var(--wui-color-bg-surface)"};
7713
- border: 1px solid
7714
- ${({ $disabled }) => $disabled ? "var(--wui-color-icon-disabled)" : "var(--wui-color-border)"};
7715
7731
 
7716
7732
  /* checkmark icon */
7717
7733
  svg {
@@ -7727,6 +7743,7 @@ var StyledHiddenCheckboxInput = import_styled_components34.default.input`
7727
7743
 
7728
7744
  /* toggles display of faux-input background-color */
7729
7745
  &:checked + label [data-wui-faux-input='true'] {
7746
+ border-color: ${({ disabled }) => disabled ? void 0 : "var(--wui-color-bg-fill)"};
7730
7747
  background-color: ${({ disabled }) => disabled ? "var(--wui-color-bg-surface-disabled)" : "var(--wui-color-bg-fill)"};
7731
7748
  }
7732
7749
 
@@ -10359,17 +10376,17 @@ var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
10359
10376
  "svg",
10360
10377
  {
10361
10378
  fill: "inherit",
10362
- height: "12",
10363
- viewBox: "0 0 12 12",
10364
- width: "12",
10379
+ height: "1",
10380
+ viewBox: "0 0 1 1",
10381
+ width: "1",
10365
10382
  xmlns: "http://www.w3.org/2000/svg",
10366
10383
  children: /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
10367
10384
  "circle",
10368
10385
  {
10369
- cx: "6",
10370
- cy: "6",
10386
+ cx: "0.5",
10387
+ cy: "0.5",
10371
10388
  fill: "currentColor",
10372
- r: "4"
10389
+ r: "0.5"
10373
10390
  }
10374
10391
  )
10375
10392
  }
@@ -10379,18 +10396,33 @@ var inputSizeSmall2 = import_styled_components65.css`
10379
10396
  height: 14px;
10380
10397
  min-width: 14px;
10381
10398
  min-height: 14px;
10399
+
10400
+ svg {
10401
+ width: 7px;
10402
+ height: 7px;
10403
+ }
10382
10404
  `;
10383
10405
  var inputSizeMedium2 = import_styled_components65.css`
10384
10406
  width: 16px;
10385
10407
  height: 16px;
10386
10408
  min-width: 16px;
10387
10409
  min-height: 16px;
10410
+
10411
+ svg {
10412
+ width: 8px;
10413
+ height: 8px;
10414
+ }
10388
10415
  `;
10389
10416
  var inputSizeLarge2 = import_styled_components65.css`
10390
10417
  width: 20px;
10391
10418
  height: 20px;
10392
10419
  min-width: 20px;
10393
10420
  min-height: 20px;
10421
+
10422
+ svg {
10423
+ width: 10px;
10424
+ height: 10px;
10425
+ }
10394
10426
  `;
10395
10427
  var getSizeCss2 = (size) => {
10396
10428
  if (size === "sm") return inputSizeSmall2;
@@ -10412,9 +10444,10 @@ var StyledRadioInput = import_styled_components65.default.div`
10412
10444
  display: grid;
10413
10445
  place-content: center;
10414
10446
  align-self: flex-start;
10447
+ border-width: 1px;
10448
+ border-style: solid;
10449
+ border-color: ${({ $disabled }) => $disabled ? "var(--wui-color-bg-border-disabled)" : "var(--wui-color-border)"};
10415
10450
  background-color: ${({ $disabled }) => $disabled ? "var(--wui-color-bg-surface-disabled)" : "var(--wui-color-bg-surface)"};
10416
- border: 1px solid
10417
- ${({ $disabled }) => $disabled ? "var(--wui-color-icon-disabled)" : "var(--wui-color-border)"};
10418
10451
 
10419
10452
  /* radio button circle icon */
10420
10453
  svg {
@@ -10428,9 +10461,9 @@ var StyledRadioInput = import_styled_components65.default.div`
10428
10461
  var StyledHiddenRadioInput = import_styled_components65.default.input`
10429
10462
  ${visuallyHiddenStyle}
10430
10463
 
10431
- /* toggles display of faux-input background-color */
10464
+ /* toggles display of faux-input border-color */
10432
10465
  &:checked + label [data-wui-faux-input='true'] {
10433
- border-color: ${({ disabled }) => disabled ? "var(--wui-color-bg-surface-disabled)" : "var(--wui-color-bg-fill)"};
10466
+ border-color: ${({ disabled }) => disabled ? "var(--wui-color-bg-border-disabled)" : "var(--wui-color-bg-fill)"};
10434
10467
  }
10435
10468
 
10436
10469
  /* toggles display of RadioIcon */