@tangible/ui 0.0.20 → 0.0.21

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.
@@ -233,7 +233,7 @@ function AccordionTrigger({ asChild = false, 'aria-label': ariaLabel, children,
233
233
  return element;
234
234
  }
235
235
  // Default: render as button with built-in chevron indicator
236
- const button = (_jsxs("button", { ref: triggerRef, type: "button", id: triggerId, className: cx('tui-accordion__trigger', className), "aria-expanded": isOpen, "aria-controls": panelId, "aria-label": ariaLabel, disabled: disabled, "data-state": state, "data-disabled": disabled || undefined, onClick: handleClick, onKeyDown: handleKeyDown, children: [children && _jsx("span", { className: "tui-accordion__trigger-content", children: children }), _jsx(Icon, { name: "system/chevron-down", size: "lg", className: "tui-accordion__indicator", "aria-hidden": "true" })] }));
236
+ const button = (_jsxs("button", { ref: triggerRef, type: "button", id: triggerId, className: cx('tui-accordion__trigger', className), "aria-expanded": isOpen, "aria-controls": panelId, "aria-label": ariaLabel, disabled: disabled, "data-state": state, "data-disabled": disabled || undefined, onClick: handleClick, onKeyDown: handleKeyDown, children: [children && _jsx("span", { className: "tui-accordion__trigger-content", children: children }), _jsx(Icon, { name: "system/chevron-down", className: "tui-accordion__indicator", "aria-hidden": "true" })] }));
237
237
  // Wrap in heading if headingLevel is specified
238
238
  if (headingLevel) {
239
239
  const Heading = `h${headingLevel}`;
@@ -386,7 +386,7 @@ function ComboboxRoot({ value: controlledValue, defaultValue, onValueChange, inp
386
386
  return (_jsx(ComboboxActionsContext.Provider, { value: actionsValue, children: _jsx(ComboboxStateContext.Provider, { value: stateValue, children: _jsxs("div", { className: "tui-combobox", children: [_jsxs("div", { className: "tui-combobox__input-wrapper", children: [_jsx("input", { ref: (node) => {
387
387
  inputRef.current = node;
388
388
  refs.setReference(node);
389
- }, type: "text", id: inputId, className: cx('tui-combobox__input', size !== 'md' && `is-size-${size}`, inputClassName), role: "combobox", "aria-expanded": open, "aria-controls": open ? listboxId : undefined, "aria-autocomplete": "list", "aria-activedescendant": activeOptionId, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, disabled: disabled, placeholder: placeholder, value: inputValue, autoComplete: "off", ...referenceProps, onChange: handleInputChange }), clearable && inputValue && !disabled && (_jsx("button", { type: "button", className: "tui-combobox__clear", onClick: handleClear, onMouseDown: (e) => e.preventDefault(), "aria-label": labels.clear, tabIndex: -1, children: _jsx(Icon, { name: "system/close", size: "sm" }) })), _jsx("span", { className: "tui-combobox__icon", "aria-hidden": "true", children: _jsx(Icon, { name: "system/chevron-down", size: "sm" }) })] }), children] }) }) }));
389
+ }, type: "text", id: inputId, className: cx('tui-combobox__input', size !== 'md' && `is-size-${size}`, inputClassName), role: "combobox", "aria-expanded": open, "aria-controls": open ? listboxId : undefined, "aria-autocomplete": "list", "aria-activedescendant": activeOptionId, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, disabled: disabled, placeholder: placeholder, value: inputValue, autoComplete: "off", ...referenceProps, onChange: handleInputChange }), clearable && inputValue && !disabled && (_jsx("button", { type: "button", className: "tui-combobox__clear", onClick: handleClear, onMouseDown: (e) => e.preventDefault(), "aria-label": labels.clear, tabIndex: -1, children: _jsx(Icon, { name: "system/close" }) })), _jsx("span", { className: "tui-combobox__icon", "aria-hidden": "true", children: _jsx(Icon, { name: "system/chevron-down" }) })] }), children] }) }) }));
390
390
  }
391
391
  ComboboxRoot.displayName = 'Combobox';
392
392
  // =============================================================================
@@ -461,7 +461,7 @@ function ComboboxOptionComponent({ value: optionValue, disabled = false, textVal
461
461
  const itemProps = getItemProps({
462
462
  onClick: handleClick,
463
463
  });
464
- return (_jsxs("div", { ref: ref, id: optionId, role: "option", className: cx('tui-combobox__option', className), "aria-selected": isSelected, "aria-disabled": disabled || undefined, "data-highlighted": isHighlighted || undefined, "data-disabled": disabled || undefined, ...itemProps, onPointerDown: composeEventHandlers(handlePointerDown, itemProps.onPointerDown), children: [_jsx("span", { className: "tui-combobox__option-content", children: children }), isSelected && (_jsx(Icon, { name: "system/check", size: "sm", className: "tui-combobox__option-check", "aria-hidden": "true" }))] }));
464
+ return (_jsxs("div", { ref: ref, id: optionId, role: "option", className: cx('tui-combobox__option', className), "aria-selected": isSelected, "aria-disabled": disabled || undefined, "data-highlighted": isHighlighted || undefined, "data-disabled": disabled || undefined, ...itemProps, onPointerDown: composeEventHandlers(handlePointerDown, itemProps.onPointerDown), children: [_jsx("span", { className: "tui-combobox__option-content", children: children }), isSelected && (_jsx(Icon, { name: "system/check", className: "tui-combobox__option-check", "aria-hidden": "true" }))] }));
465
465
  }
466
466
  ComboboxOptionComponent.displayName = 'Combobox.Option';
467
467
  // =============================================================================
@@ -451,7 +451,7 @@ function MultiSelectTriggerComponent({ asChild = false, className, children, })
451
451
  return (_jsxs("span", { className: "tui-multiselect__chips", children: [visibleChips.map((opt) => (_jsx("span", { className: "tui-multiselect__chip", children: opt.textValue }, toKey(opt.value)))), overflow > 0 && (_jsx("span", { className: "tui-multiselect__more", children: labels.more(overflow) }))] }));
452
452
  };
453
453
  // Default trigger content (when not using asChild or custom children)
454
- const defaultTriggerContent = (_jsxs(_Fragment, { children: [_jsx("span", { className: "tui-multiselect__value", children: renderTriggerContent() }), hasSelection && (_jsx("span", { className: "tui-multiselect__clear", onClick: handleClearClick, "aria-hidden": "true", children: _jsx(Icon, { name: "system/close", size: "sm" }) })), _jsx(Icon, { name: "system/chevron-down", size: "sm", className: "tui-multiselect__icon", "aria-hidden": "true" })] }));
454
+ const defaultTriggerContent = (_jsxs(_Fragment, { children: [_jsx("span", { className: "tui-multiselect__value", children: renderTriggerContent() }), hasSelection && (_jsx("span", { className: "tui-multiselect__clear", onClick: handleClearClick, "aria-hidden": "true", children: _jsx(Icon, { name: "system/close" }) })), _jsx(Icon, { name: "system/chevron-down", className: "tui-multiselect__icon", "aria-hidden": "true" })] }));
455
455
  // Generate status message for screen readers
456
456
  const statusMessage = labels.status(selectedOptions.length, max);
457
457
  // Live region (rendered outside button, sibling to trigger)
@@ -3,7 +3,7 @@ import type { JSX } from 'react';
3
3
  import type { ThemeStatus, SizeStandard } from '../../types';
4
4
  type RootAs = 'section' | 'div';
5
5
  type HeadingAs = 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
6
- type NoticeTheme = ThemeStatus;
6
+ type NoticeTheme = ThemeStatus | 'neutral';
7
7
  type NoticeAnnounce = 'off' | 'polite' | 'assertive';
8
8
  export type NoticeExitAnimation = 'collapse' | 'fade' | 'none';
9
9
  type CommonProps = {
@@ -68,7 +68,7 @@ type SlotProps = React.HTMLAttributes<HTMLDivElement> & {
68
68
  className?: string;
69
69
  children?: React.ReactNode;
70
70
  };
71
- type HeadSlotProps = SlotProps & {
71
+ type HeadSlotProps = Omit<SlotProps, 'title'> & {
72
72
  /** Icon content */
73
73
  icon?: React.ReactNode;
74
74
  /** Title text */
@@ -429,7 +429,7 @@ function SelectTriggerComponent({ asChild = false, className, children, }) {
429
429
  // Wrap in a relative container so the clear button can be a sibling of the
430
430
  // trigger <button> — nesting <button> inside <button> is invalid HTML and
431
431
  // causes browsers to eject the inner button via the adoption agency algorithm.
432
- return (_jsxs("div", { className: cx('tui-select__trigger-wrap', showClear && 'has-clear'), children: [_jsxs("button", { ref: refs.setReference, type: "button", className: cx('tui-select__trigger', sizeClass, className), disabled: disabled, ...triggerProps, children: [_jsx("span", { className: "tui-select__value", children: displayText ?? _jsx("span", { className: "tui-select__placeholder", children: placeholder }) }), _jsx(Icon, { name: "system/chevron-down", size: "sm", className: "tui-select__icon", "aria-hidden": "true" })] }), showClear && (_jsx("button", { type: "button", className: "tui-select__clear", onClick: handleClear, "aria-label": clearLabel, tabIndex: -1, children: _jsx(Icon, { name: "system/close", size: "sm" }) }))] }));
432
+ return (_jsxs("div", { className: cx('tui-select__trigger-wrap', showClear && 'has-clear'), children: [_jsxs("button", { ref: refs.setReference, type: "button", className: cx('tui-select__trigger', sizeClass, className), disabled: disabled, ...triggerProps, children: [_jsx("span", { className: "tui-select__value", children: displayText ?? _jsx("span", { className: "tui-select__placeholder", children: placeholder }) }), _jsx(Icon, { name: "system/chevron-down", className: "tui-select__icon", "aria-hidden": "true" })] }), showClear && (_jsx("button", { type: "button", className: "tui-select__clear", onClick: handleClear, "aria-label": clearLabel, tabIndex: -1, children: _jsx(Icon, { name: "system/close" }) }))] }));
433
433
  }
434
434
  SelectTriggerComponent.displayName = 'Select.Trigger';
435
435
  // =============================================================================
@@ -499,7 +499,7 @@ function SelectOptionComponent({ value: optionValue, disabled = false, textValue
499
499
  }, [disabled, optionValue, textValue, setValue, setOpen]);
500
500
  return (_jsxs("div", { ref: ref, id: index >= 0 ? `${listboxId}-option-${index}` : undefined, role: "option", className: cx('tui-select__option', className), "aria-selected": isSelected, "aria-disabled": disabled || undefined, "data-highlighted": isHighlighted || undefined, "data-disabled": disabled || undefined, ...getItemProps({
501
501
  onClick: handleClick,
502
- }), children: [_jsx("span", { className: "tui-select__option-content", children: children }), isSelected && (_jsx(Icon, { name: "system/check", size: "sm", className: "tui-select__option-check", "aria-hidden": "true" }))] }));
502
+ }), children: [_jsx("span", { className: "tui-select__option-content", children: children }), isSelected && (_jsx(Icon, { name: "system/check", className: "tui-select__option-check", "aria-hidden": "true" }))] }));
503
503
  }
504
504
  SelectOptionComponent.displayName = 'Select.Option';
505
505
  // =============================================================================
@@ -284,7 +284,7 @@ function Tab({ value, icon, 'aria-label': ariaLabel, disabled = false, className
284
284
  onSelect(value);
285
285
  }
286
286
  };
287
- return (_jsxs("button", { ref: callbackRef, type: "button", role: "tab", id: tabId, className: cx('tui-tabs__tab', className), "data-tui-tab-value": value, "data-state": isActive ? 'active' : 'inactive', "aria-selected": isActive, "aria-controls": panelId, "aria-label": ariaLabel, "aria-disabled": disabled || undefined, tabIndex: disabled ? -1 : isFocusable ? 0 : -1, "data-disabled": disabled || undefined, onClick: handleClick, children: [icon && _jsx(Icon, { name: icon, size: "md", "aria-hidden": "true" }), children && _jsx("span", { className: "tui-tabs__tab-label", children: children })] }));
287
+ return (_jsxs("button", { ref: callbackRef, type: "button", role: "tab", id: tabId, className: cx('tui-tabs__tab', className), "data-tui-tab-value": value, "data-state": isActive ? 'active' : 'inactive', "aria-selected": isActive, "aria-controls": panelId, "aria-label": ariaLabel, "aria-disabled": disabled || undefined, tabIndex: disabled ? -1 : isFocusable ? 0 : -1, "data-disabled": disabled || undefined, onClick: handleClick, children: [icon && _jsx(Icon, { name: icon, "aria-hidden": "true" }), children && _jsx("span", { className: "tui-tabs__tab-label", children: children })] }));
288
288
  }
289
289
  // =============================================================================
290
290
  // Tabs.Panel
package/icons/icons.svg CHANGED
@@ -28,7 +28,7 @@
28
28
  <symbol id="tui-lms-edit-externally" viewBox="0 0 24 24"><path d="m19 7-3-3-8.5 8.5-1 4 4-1zM12 18.5H5V20h7z"/></symbol>
29
29
  <symbol id="tui-lms-free-form" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M17 4.25a2.747 2.747 0 0 1 .086 5.495l-.718 2.872a2.75 2.75 0 1 1-3.751 3.751l-2.872.718A2.747 2.747 0 0 1 4.25 17c0-1.258.846-2.317 2-2.644V9.643A2.748 2.748 0 0 1 7 4.25a2.75 2.75 0 0 1 2.4 4.089l4.26 4.26a2.7 2.7 0 0 1 1.253-.345l.718-2.872A2.75 2.75 0 0 1 14.25 7 2.75 2.75 0 0 1 17 4.25M7 15.75a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5m8-2a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5M8.339 9.4a2.7 2.7 0 0 1-.589.243v4.713a2.75 2.75 0 0 1 1.632 1.275l2.872-.718c.014-.454.137-.88.346-1.253zM7 5.75a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5m10 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5" clip-rule="evenodd"/></symbol>
30
30
  <symbol id="tui-lms-help-circle-fill" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16m-.75 11v1.5h1.5V15zM12 7.25a3 3 0 0 0-3 3h1.5a1.5 1.5 0 1 1 1.667 1.491c-.465.052-.917.438-.917 1.009V14h1.5v-.849A2.997 2.997 0 0 0 12 7.25" clip-rule="evenodd"/></symbol>
31
- <symbol id="tui-lms-help-circle-outline" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 4.75a7.25 7.25 0 1 0 0 14.5 7.25 7.25 0 0 0 0-14.5M3.25 12a8.75 8.75 0 1 1 17.5 0 8.75 8.75 0 0 1-17.5 0M9 10.25a3 3 0 1 1 3.75 2.905V14h-1.5v-1.25c0-.57.452-.958.917-1.01a1.5 1.5 0 1 0-1.667-1.49zm2.25 6.25V15h1.5v1.5z" clip-rule="evenodd"/></symbol>
31
+ <symbol id="tui-lms-help-circle-outline" viewBox="0 0 24 24"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 10.25C9 8.59315 10.3431 7.25 12 7.25C13.6569 7.25 15 8.59315 15 10.25C15 11.6481 14.0442 12.8221 12.75 13.1553V14H11.25V12.75C11.25 12.1791 11.7023 11.7922 12.1673 11.7408C12.9167 11.6581 13.5 11.0217 13.5 10.25C13.5 9.42157 12.8284 8.75 12 8.75C11.1716 8.75 10.5 9.42157 10.5 10.25H9ZM11.25 16.5V15H12.75V16.5H11.25Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 18.5C15.5899 18.5 18.5 15.5899 18.5 12C18.5 8.41015 15.5899 5.5 12 5.5C8.41015 5.5 5.5 8.41015 5.5 12C5.5 15.5899 8.41015 18.5 12 18.5ZM20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12Z"/></symbol>
32
32
  <symbol id="tui-lms-hidden" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M19.778 4.222 4.222 19.778l-1.06-1.06 2.942-2.944C4.035 14.067 3 12 3 12s3-6 9-6c1.204 0 2.286.243 3.248.63l3.47-3.469zM12 7.5c-2.462 0-4.353 1.224-5.69 2.56A12 12 0 0 0 4.742 12q.033.052.07.105c.334.502.835 1.17 1.5 1.835q.396.397.858.769l1.534-1.534a3.5 3.5 0 0 1 4.472-4.472l.896-.896A7.2 7.2 0 0 0 12 7.5" clip-rule="evenodd"/><path d="M17.897 8.224C19.965 9.932 21 12 21 12s-3 6-9 6a8.7 8.7 0 0 1-3.249-.63l1.176-1.177c.64.193 1.33.307 2.073.307 2.462 0 4.353-1.224 5.69-2.56A12 12 0 0 0 19.258 12l-.07-.105a12 12 0 0 0-1.5-1.835 11 11 0 0 0-.859-.77z"/><path d="M15.297 10.823a3.5 3.5 0 0 1-4.474 4.474z"/></symbol>
33
33
  <symbol id="tui-lms-info" viewBox="0 0 24 24"><path d="M13 11v6h-2v-6zM13 9V7h-2v2z"/><path fill-rule="evenodd" d="M3.25 12a8.75 8.75 0 1 1 17.5 0 8.75 8.75 0 0 1-17.5 0M12 4.75a7.25 7.25 0 1 0 0 14.5 7.25 7.25 0 0 0 0-14.5" clip-rule="evenodd"/></symbol>
34
34
  <symbol id="tui-lms-inspector-sidebar" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M14 5.5H6a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h8zm1.5 0H18a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5h-2.5zM6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2" clip-rule="evenodd"/></symbol>
@@ -132,7 +132,7 @@
132
132
  <symbol id="tui-reaction-triangle-up-fill" viewBox="0 0 24 24"><path d="m4 17 8-10 8 10z"/></symbol>
133
133
  <symbol id="tui-reaction-triangle-up-outline" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M4 17h16L12 7zm3.12-1.5h9.76L12 9.401z" clip-rule="evenodd"/></symbol>
134
134
  <symbol id="tui-system-alert-circle-fill" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16m-1-7V7h2v6zm0 2v2h2v-2z" clip-rule="evenodd"/></symbol>
135
- <symbol id="tui-system-alert-circle-outline" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 4.75a7.25 7.25 0 1 0 0 14.5 7.25 7.25 0 0 0 0-14.5M3.25 12a8.75 8.75 0 1 1 17.5 0 8.75 8.75 0 0 1-17.5 0" clip-rule="evenodd"/><path d="M13 7h-2v6h2zm0 8h-2v2h2z"/></symbol>
135
+ <symbol id="tui-system-alert-circle-outline" viewBox="0 0 24 24"><path d="M13 17H11V15H13V17Z"/><path d="M13 13H11V7H13V13Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4ZM12 5.5C8.41015 5.5 5.5 8.41015 5.5 12C5.5 15.5899 8.41015 18.5 12 18.5C15.5899 18.5 18.5 15.5899 18.5 12C18.5 8.41015 15.5899 5.5 12 5.5Z"/></symbol>
136
136
  <symbol id="tui-system-arrow-clockwise" viewBox="0 0 24 24"><path d="m19.306 9.495-5.27.258-.073-1.498 2.93-.144a6.25 6.25 0 1 0 1.144 5.507l1.449.388a7.75 7.75 0 1 1-1.69-7.15l-.01-2.853 1.5-.005z"/></symbol>
137
137
  <symbol id="tui-system-arrow-counterclockwise" viewBox="0 0 24 24"><path d="m4.43 9.495 5.27.258.073-1.498-2.93-.144a6.25 6.25 0 1 1-1.144 5.507l-1.45.388a7.75 7.75 0 1 0 1.69-7.15l.01-2.853-1.5-.005z"/></symbol>
138
138
  <symbol id="tui-system-arrow-down" viewBox="0 0 24 24"><path fill-rule="evenodd" d="m6.47 14.53 1.06-1.06 3.72 3.72V4h1.5v13.19l3.72-3.72 1.06 1.06L12 20.06z" clip-rule="evenodd"/></symbol>
@@ -146,6 +146,8 @@
146
146
  <symbol id="tui-system-bolt-outline" viewBox="0 0 24 24"><path fill-rule="evenodd" d="m11.675 11.5 2.007-4.678-5.35 4.678zm.66 1-2.008 4.68 5.352-4.68zm-5.993-1.253a1 1 0 0 0-.278 1.106c.147.388.52.647.909.647h3.515l-2.405 5.606a1 1 0 0 0 1.58 1.147l8.006-7a.95.95 0 0 0 .25-1.106.94.94 0 0 0-.91-.647h-3.487l2.405-5.606a1.002 1.002 0 0 0-1.58-1.147z" clip-rule="evenodd"/></symbol>
147
147
  <symbol id="tui-system-bolt-plus-fill" viewBox="0 0 24 24"><path d="M13.522 11h3.487c.416 0 .79.26.91.647a.95.95 0 0 1-.25 1.106l-.603.527a4.5 4.5 0 0 0-5.957 5.208l-1.447 1.265a1 1 0 0 1-1.58-1.147L10.489 13H6.973a.995.995 0 0 1-.909-.647 1 1 0 0 1 .278-1.106l8.005-7a1.002 1.002 0 0 1 1.58 1.147z"/><path fill-rule="evenodd" d="M15.5 21a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7m2.5-3.5a.577.577 0 0 1-.577.577h-1.346v1.346a.577.577 0 1 1-1.154 0v-1.346h-1.346a.577.577 0 0 1 0-1.154h1.346v-1.346a.577.577 0 1 1 1.154 0v1.346h1.346c.32 0 .577.258.577.577" clip-rule="evenodd"/></symbol>
148
148
  <symbol id="tui-system-bolt-plus-outline" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12.335 12.5h3.344l-.593.519q.204-.02.414-.019c.55 0 1.078.099 1.566.28l.603-.527a.95.95 0 0 0 .25-1.106.94.94 0 0 0-.91-.647h-3.487l2.405-5.606a1.002 1.002 0 0 0-1.58-1.147l-8.005 7a1 1 0 0 0-.278 1.106c.147.388.52.647.909.647h3.515l-2.405 5.606a1 1 0 0 0 1.58 1.147l1.446-1.265a4.5 4.5 0 0 1 .004-1.996l-.786.687zm-.66-1H8.33l5.35-4.678z" clip-rule="evenodd"/><path fill-rule="evenodd" d="M19 17.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0m-1.577.577a.577.577 0 0 0 0-1.154h-1.346v-1.346a.577.577 0 1 0-1.154 0v1.346h-1.346a.577.577 0 1 0 0 1.154h1.346v1.346a.577.577 0 1 0 1.154 0v-1.346z" clip-rule="evenodd"/></symbol>
149
+ <symbol id="tui-system-check-circle-fill" viewBox="0 0 24 24"><path d="M12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4ZM10.9346 13.7754L8.67285 11.5039L7.69727 12.4746L10.9307 15.7217L16.6758 10.002L15.7041 9.02637L10.9346 13.7754Z"/></symbol>
150
+ <symbol id="tui-system-check-circle-outline" viewBox="0 0 24 24"><path d="M16.6758 10.002L10.9307 15.7217L7.69727 12.4746L8.67285 11.5039L10.9346 13.7754L15.7041 9.02637L16.6758 10.002Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4ZM12 5.5C8.41015 5.5 5.5 8.41015 5.5 12C5.5 15.5899 8.41015 18.5 12 18.5C15.5899 18.5 18.5 15.5899 18.5 12C18.5 8.41015 15.5899 5.5 12 5.5Z"/></symbol>
149
151
  <symbol id="tui-system-check-small" viewBox="0 0 24 24"><path fill-rule="evenodd" d="m17.93 7.978-7.2 9.681-4.515-3.358.895-1.204 3.312 2.463 6.303-8.477z" clip-rule="evenodd"/></symbol>
150
152
  <symbol id="tui-system-check" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M10.687 16.567 18.14 3.99l1.72 1.02-8.547 14.423-7.382-5.111 1.138-1.644z" clip-rule="evenodd"/></symbol>
151
153
  <symbol id="tui-system-checklist" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M20 7.75h-8.89v-1.5H20zm0 5h-8.89v-1.5H20zM6 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 1a2 2 0 1 0 0-4 2 2 0 0 0 0 4m0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 1a2 2 0 1 0 0-4 2 2 0 0 0 0 4" clip-rule="evenodd"/><path fill-rule="evenodd" d="M6 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 1a2 2 0 1 0 0-4 2 2 0 0 0 0 4" clip-rule="evenodd"/><path d="M20 17.75h-8.89v-1.5H20z"/><path fill-rule="evenodd" d="M8.85 4.821 5.872 8.83 3.554 7.1l.896-1.202 1.115.831 2.083-2.802z" clip-rule="evenodd"/></symbol>
@@ -157,6 +159,8 @@
157
159
  <symbol id="tui-system-chevron-right" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M10.555 5.996 16.013 12l-5.458 6.005-1.11-1.01L13.986 12 9.445 7.005z" clip-rule="evenodd"/></symbol>
158
160
  <symbol id="tui-system-chevron-up-small" viewBox="0 0 24 24"><path fill-rule="evenodd" d="m8.014 13.168 3.988-3.418 3.988 3.418-.976 1.14-3.012-2.582-3.012 2.581z" clip-rule="evenodd"/></symbol>
159
161
  <symbol id="tui-system-chevron-up" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M5.996 13.445 12 7.986l6.005 5.459-1.01 1.11L12 10.014l-4.995 4.54z" clip-rule="evenodd"/></symbol>
162
+ <symbol id="tui-system-circle-fill" viewBox="0 0 24 24"><path d="M12 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16"/></symbol>
163
+ <symbol id="tui-system-circle-outline" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16m0 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13" clip-rule="evenodd"/></symbol>
160
164
  <symbol id="tui-system-circle-small-fill" viewBox="0 0 24 24"><path d="M12 16a4 4 0 1 0 0-8 4 4 0 0 0 0 8"/></symbol>
161
165
  <symbol id="tui-system-circle-small-outline" viewBox="0 0 24 24"><path d="M14.5 12a2.5 2.5 0 1 0-2.5 2.5V16a4 4 0 1 1 0-8 4 4 0 0 1 0 8v-1.5a2.5 2.5 0 0 0 2.5-2.5"/></symbol>
162
166
  <symbol id="tui-system-close-circle-fill" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0m-4.995 4.066L12 13.06l-3.005 3.005-1.06-1.06L10.94 12 7.934 8.995l1.06-1.06L12 10.94l3.005-3.006 1.06 1.061L13.062 12l3.005 3.005z" clip-rule="evenodd"/></symbol>
@@ -177,7 +177,7 @@ export function HelpCircleOutline(props) {
177
177
  width: "1em",
178
178
  height: "1em",
179
179
  fill: "currentColor"
180
- }, props), _c("path", {fillRule:"evenodd",d:"M12 4.75a7.25 7.25 0 1 0 0 14.5 7.25 7.25 0 0 0 0-14.5M3.25 12a8.75 8.75 0 1 1 17.5 0 8.75 8.75 0 0 1-17.5 0M9 10.25a3 3 0 1 1 3.75 2.905V14h-1.5v-1.25c0-.57.452-.958.917-1.01a1.5 1.5 0 1 0-1.667-1.49zm2.25 6.25V15h1.5v1.5z",clipRule:"evenodd"}));
180
+ }, props), [_c("path", {fillRule:"evenodd",clipRule:"evenodd",d:"M9 10.25C9 8.59315 10.3431 7.25 12 7.25C13.6569 7.25 15 8.59315 15 10.25C15 11.6481 14.0442 12.8221 12.75 13.1553V14H11.25V12.75C11.25 12.1791 11.7023 11.7922 12.1673 11.7408C12.9167 11.6581 13.5 11.0217 13.5 10.25C13.5 9.42157 12.8284 8.75 12 8.75C11.1716 8.75 10.5 9.42157 10.5 10.25H9ZM11.25 16.5V15H12.75V16.5H11.25Z"}), _c("path", {fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5C15.5899 18.5 18.5 15.5899 18.5 12C18.5 8.41015 15.5899 5.5 12 5.5C8.41015 5.5 5.5 8.41015 5.5 12C5.5 15.5899 8.41015 18.5 12 18.5ZM20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12Z"})]);
181
181
  }
182
182
 
183
183
  export function Hidden(props) {
@@ -1175,6 +1175,22 @@
1175
1175
  "viewBox": "0 0 24 24",
1176
1176
  "sprite": true
1177
1177
  },
1178
+ "system/check-circle-fill": {
1179
+ "id": "tui-system-check-circle-fill",
1180
+ "set": "system",
1181
+ "name": "check-circle-fill",
1182
+ "file": "system/check-circle-fill.svg",
1183
+ "viewBox": "0 0 24 24",
1184
+ "sprite": true
1185
+ },
1186
+ "system/check-circle-outline": {
1187
+ "id": "tui-system-check-circle-outline",
1188
+ "set": "system",
1189
+ "name": "check-circle-outline",
1190
+ "file": "system/check-circle-outline.svg",
1191
+ "viewBox": "0 0 24 24",
1192
+ "sprite": true
1193
+ },
1178
1194
  "system/check-small": {
1179
1195
  "id": "tui-system-check-small",
1180
1196
  "set": "system",
@@ -1263,6 +1279,22 @@
1263
1279
  "viewBox": "0 0 24 24",
1264
1280
  "sprite": true
1265
1281
  },
1282
+ "system/circle-fill": {
1283
+ "id": "tui-system-circle-fill",
1284
+ "set": "system",
1285
+ "name": "circle-fill",
1286
+ "file": "system/circle-fill.svg",
1287
+ "viewBox": "0 0 24 24",
1288
+ "sprite": true
1289
+ },
1290
+ "system/circle-outline": {
1291
+ "id": "tui-system-circle-outline",
1292
+ "set": "system",
1293
+ "name": "circle-outline",
1294
+ "file": "system/circle-outline.svg",
1295
+ "viewBox": "0 0 24 24",
1296
+ "sprite": true
1297
+ },
1266
1298
  "system/circle-small-fill": {
1267
1299
  "id": "tui-system-circle-small-fill",
1268
1300
  "set": "system",
@@ -150,6 +150,8 @@ export type IconName =
150
150
  | 'system/bolt-outline'
151
151
  | 'system/bolt-plus-fill'
152
152
  | 'system/bolt-plus-outline'
153
+ | 'system/check-circle-fill'
154
+ | 'system/check-circle-outline'
153
155
  | 'system/check-small'
154
156
  | 'system/check'
155
157
  | 'system/checklist'
@@ -161,6 +163,8 @@ export type IconName =
161
163
  | 'system/chevron-right'
162
164
  | 'system/chevron-up-small'
163
165
  | 'system/chevron-up'
166
+ | 'system/circle-fill'
167
+ | 'system/circle-outline'
164
168
  | 'system/circle-small-fill'
165
169
  | 'system/circle-small-outline'
166
170
  | 'system/close-circle-fill'
@@ -374,6 +378,8 @@ export declare const iconRegistry: {
374
378
  'system/bolt-outline': IconComponent;
375
379
  'system/bolt-plus-fill': IconComponent;
376
380
  'system/bolt-plus-outline': IconComponent;
381
+ 'system/check-circle-fill': IconComponent;
382
+ 'system/check-circle-outline': IconComponent;
377
383
  'system/check-small': IconComponent;
378
384
  'system/check': IconComponent;
379
385
  'system/checklist': IconComponent;
@@ -385,6 +391,8 @@ export declare const iconRegistry: {
385
391
  'system/chevron-right': IconComponent;
386
392
  'system/chevron-up-small': IconComponent;
387
393
  'system/chevron-up': IconComponent;
394
+ 'system/circle-fill': IconComponent;
395
+ 'system/circle-outline': IconComponent;
388
396
  'system/circle-small-fill': IconComponent;
389
397
  'system/circle-small-outline': IconComponent;
390
398
  'system/close-circle-fill': IconComponent;
package/icons/registry.js CHANGED
@@ -153,6 +153,8 @@ export const iconRegistry = {
153
153
  'system/bolt-outline': systemIcons['bolt-outline'],
154
154
  'system/bolt-plus-fill': systemIcons['bolt-plus-fill'],
155
155
  'system/bolt-plus-outline': systemIcons['bolt-plus-outline'],
156
+ 'system/check-circle-fill': systemIcons['check-circle-fill'],
157
+ 'system/check-circle-outline': systemIcons['check-circle-outline'],
156
158
  'system/check-small': systemIcons['check-small'],
157
159
  'system/check': systemIcons['check'],
158
160
  'system/checklist': systemIcons['checklist'],
@@ -164,6 +166,8 @@ export const iconRegistry = {
164
166
  'system/chevron-right': systemIcons['chevron-right'],
165
167
  'system/chevron-up-small': systemIcons['chevron-up-small'],
166
168
  'system/chevron-up': systemIcons['chevron-up'],
169
+ 'system/circle-fill': systemIcons['circle-fill'],
170
+ 'system/circle-outline': systemIcons['circle-outline'],
167
171
  'system/circle-small-fill': systemIcons['circle-small-fill'],
168
172
  'system/circle-small-outline': systemIcons['circle-small-outline'],
169
173
  'system/close-circle-fill': systemIcons['close-circle-fill'],
@@ -17,6 +17,8 @@ export declare const BoltFill: IconComponent;
17
17
  export declare const BoltOutline: IconComponent;
18
18
  export declare const BoltPlusFill: IconComponent;
19
19
  export declare const BoltPlusOutline: IconComponent;
20
+ export declare const CheckCircleFill: IconComponent;
21
+ export declare const CheckCircleOutline: IconComponent;
20
22
  export declare const CheckSmall: IconComponent;
21
23
  export declare const Check: IconComponent;
22
24
  export declare const Checklist: IconComponent;
@@ -28,6 +30,8 @@ export declare const ChevronRightSmall: IconComponent;
28
30
  export declare const ChevronRight: IconComponent;
29
31
  export declare const ChevronUpSmall: IconComponent;
30
32
  export declare const ChevronUp: IconComponent;
33
+ export declare const CircleFill: IconComponent;
34
+ export declare const CircleOutline: IconComponent;
31
35
  export declare const CircleSmallFill: IconComponent;
32
36
  export declare const CircleSmallOutline: IconComponent;
33
37
  export declare const CloseCircleFill: IconComponent;
@@ -109,6 +113,8 @@ export declare const systemIcons: {
109
113
  'bolt-outline': IconComponent;
110
114
  'bolt-plus-fill': IconComponent;
111
115
  'bolt-plus-outline': IconComponent;
116
+ 'check-circle-fill': IconComponent;
117
+ 'check-circle-outline': IconComponent;
112
118
  'check-small': IconComponent;
113
119
  'check': IconComponent;
114
120
  'checklist': IconComponent;
@@ -120,6 +126,8 @@ export declare const systemIcons: {
120
126
  'chevron-right': IconComponent;
121
127
  'chevron-up-small': IconComponent;
122
128
  'chevron-up': IconComponent;
129
+ 'circle-fill': IconComponent;
130
+ 'circle-outline': IconComponent;
123
131
  'circle-small-fill': IconComponent;
124
132
  'circle-small-outline': IconComponent;
125
133
  'close-circle-fill': IconComponent;
@@ -17,7 +17,7 @@ export function AlertCircleOutline(props) {
17
17
  width: "1em",
18
18
  height: "1em",
19
19
  fill: "currentColor"
20
- }, props), [_c("path", {fillRule:"evenodd",d:"M12 4.75a7.25 7.25 0 1 0 0 14.5 7.25 7.25 0 0 0 0-14.5M3.25 12a8.75 8.75 0 1 1 17.5 0 8.75 8.75 0 0 1-17.5 0",clipRule:"evenodd"}), _c("path", {d:"M13 7h-2v6h2zm0 8h-2v2h2z"})]);
20
+ }, props), [_c("path", {d:"M13 17H11V15H13V17Z"}), _c("path", {d:"M13 13H11V7H13V13Z"}), _c("path", {fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4ZM12 5.5C8.41015 5.5 5.5 8.41015 5.5 12C5.5 15.5899 8.41015 18.5 12 18.5C15.5899 18.5 18.5 15.5899 18.5 12C18.5 8.41015 15.5899 5.5 12 5.5Z"})]);
21
21
  }
22
22
 
23
23
  export function ArrowClockwise(props) {
@@ -150,6 +150,26 @@ export function BoltPlusOutline(props) {
150
150
  }, props), [_c("path", {fillRule:"evenodd",d:"M12.335 12.5h3.344l-.593.519q.204-.02.414-.019c.55 0 1.078.099 1.566.28l.603-.527a.95.95 0 0 0 .25-1.106.94.94 0 0 0-.91-.647h-3.487l2.405-5.606a1.002 1.002 0 0 0-1.58-1.147l-8.005 7a1 1 0 0 0-.278 1.106c.147.388.52.647.909.647h3.515l-2.405 5.606a1 1 0 0 0 1.58 1.147l1.446-1.265a4.5 4.5 0 0 1 .004-1.996l-.786.687zm-.66-1H8.33l5.35-4.678z",clipRule:"evenodd"}), _c("path", {fillRule:"evenodd",d:"M19 17.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0m-1.577.577a.577.577 0 0 0 0-1.154h-1.346v-1.346a.577.577 0 1 0-1.154 0v1.346h-1.346a.577.577 0 1 0 0 1.154h1.346v1.346a.577.577 0 1 0 1.154 0v-1.346z",clipRule:"evenodd"})]);
151
151
  }
152
152
 
153
+ export function CheckCircleFill(props) {
154
+ return _c("svg", Object.assign({
155
+ xmlns: "http://www.w3.org/2000/svg",
156
+ viewBox: "0 0 24 24",
157
+ width: "1em",
158
+ height: "1em",
159
+ fill: "currentColor"
160
+ }, props), _c("path", {d:"M12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4ZM10.9346 13.7754L8.67285 11.5039L7.69727 12.4746L10.9307 15.7217L16.6758 10.002L15.7041 9.02637L10.9346 13.7754Z"}));
161
+ }
162
+
163
+ export function CheckCircleOutline(props) {
164
+ return _c("svg", Object.assign({
165
+ xmlns: "http://www.w3.org/2000/svg",
166
+ viewBox: "0 0 24 24",
167
+ width: "1em",
168
+ height: "1em",
169
+ fill: "currentColor"
170
+ }, props), [_c("path", {d:"M16.6758 10.002L10.9307 15.7217L7.69727 12.4746L8.67285 11.5039L10.9346 13.7754L15.7041 9.02637L16.6758 10.002Z"}), _c("path", {fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12C4 7.58172 7.58172 4 12 4ZM12 5.5C8.41015 5.5 5.5 8.41015 5.5 12C5.5 15.5899 8.41015 18.5 12 18.5C15.5899 18.5 18.5 15.5899 18.5 12C18.5 8.41015 15.5899 5.5 12 5.5Z"})]);
171
+ }
172
+
153
173
  export function CheckSmall(props) {
154
174
  return _c("svg", Object.assign({
155
175
  xmlns: "http://www.w3.org/2000/svg",
@@ -260,6 +280,26 @@ export function ChevronUp(props) {
260
280
  }, props), _c("path", {fillRule:"evenodd",d:"M5.996 13.445 12 7.986l6.005 5.459-1.01 1.11L12 10.014l-4.995 4.54z",clipRule:"evenodd"}));
261
281
  }
262
282
 
283
+ export function CircleFill(props) {
284
+ return _c("svg", Object.assign({
285
+ xmlns: "http://www.w3.org/2000/svg",
286
+ viewBox: "0 0 24 24",
287
+ width: "1em",
288
+ height: "1em",
289
+ fill: "currentColor"
290
+ }, props), _c("path", {d:"M12 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16"}));
291
+ }
292
+
293
+ export function CircleOutline(props) {
294
+ return _c("svg", Object.assign({
295
+ xmlns: "http://www.w3.org/2000/svg",
296
+ viewBox: "0 0 24 24",
297
+ width: "1em",
298
+ height: "1em",
299
+ fill: "currentColor"
300
+ }, props), _c("path", {fillRule:"evenodd",d:"M12 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16m0 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13",clipRule:"evenodd"}));
301
+ }
302
+
263
303
  export function CircleSmallFill(props) {
264
304
  return _c("svg", Object.assign({
265
305
  xmlns: "http://www.w3.org/2000/svg",
@@ -916,6 +956,8 @@ export const systemIcons = {
916
956
  'bolt-outline': BoltOutline,
917
957
  'bolt-plus-fill': BoltPlusFill,
918
958
  'bolt-plus-outline': BoltPlusOutline,
959
+ 'check-circle-fill': CheckCircleFill,
960
+ 'check-circle-outline': CheckCircleOutline,
919
961
  'check-small': CheckSmall,
920
962
  'check': Check,
921
963
  'checklist': Checklist,
@@ -927,6 +969,8 @@ export const systemIcons = {
927
969
  'chevron-right': ChevronRight,
928
970
  'chevron-up-small': ChevronUpSmall,
929
971
  'chevron-up': ChevronUp,
972
+ 'circle-fill': CircleFill,
973
+ 'circle-outline': CircleOutline,
930
974
  'circle-small-fill': CircleSmallFill,
931
975
  'circle-small-outline': CircleSmallOutline,
932
976
  'close-circle-fill': CloseCircleFill,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangible/ui",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "Tangible Design System",
5
5
  "type": "module",
6
6
  "main": "./components/index.js",