@nectary/components 0.27.0 → 0.28.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/accordion-item/index.d.ts +1 -24
- package/accordion-item/index.js +1 -1
- package/accordion-item/types.d.ts +23 -0
- package/accordion-item/types.js +1 -0
- package/accordion-item/utils.d.ts +1 -0
- package/accordion-item/utils.js +1 -0
- package/action-menu/index.d.ts +29 -0
- package/action-menu/index.js +274 -0
- package/action-menu-option/index.d.ts +11 -0
- package/action-menu-option/index.js +95 -0
- package/action-menu-option/types.d.ts +17 -0
- package/action-menu-option/types.js +1 -0
- package/button/index.js +1 -1
- package/chat-block/index.d.ts +1 -1
- package/chat-bubble/index.d.ts +1 -15
- package/chat-bubble/index.js +1 -2
- package/chat-bubble/types.d.ts +13 -0
- package/chat-bubble/types.js +1 -0
- package/chat-bubble/utils.d.ts +1 -0
- package/chat-bubble/utils.js +2 -1
- package/dropdown/index.d.ts +2 -27
- package/dropdown/index.js +2 -1
- package/dropdown/types.d.ts +25 -0
- package/dropdown/types.js +1 -0
- package/dropdown-checkbox-option/index.d.ts +1 -14
- package/dropdown-checkbox-option/types.d.ts +14 -0
- package/dropdown-checkbox-option/types.js +1 -0
- package/dropdown-radio-option/index.d.ts +1 -14
- package/dropdown-radio-option/types.d.ts +14 -0
- package/dropdown-radio-option/types.js +1 -0
- package/dropdown-text-option/index.d.ts +1 -15
- package/dropdown-text-option/types.d.ts +15 -0
- package/dropdown-text-option/types.js +1 -0
- package/grid/index.d.ts +0 -1
- package/grid/index.js +0 -1
- package/grid-item/index.d.ts +3 -15
- package/grid-item/types.d.ts +13 -0
- package/grid-item/types.js +1 -0
- package/help-tooltip/index.d.ts +1 -1
- package/icons/access-alarm/index.d.ts +11 -0
- package/icons/access-alarm/index.js +4 -0
- package/icons/access-alarms/index.d.ts +11 -0
- package/icons/access-alarms/index.js +4 -0
- package/icons/ad-units/index.d.ts +11 -0
- package/icons/ad-units/index.js +4 -0
- package/icons/add-alarm/index.d.ts +11 -0
- package/icons/add-alarm/index.js +4 -0
- package/icons/add-ic-call/index.d.ts +11 -0
- package/icons/add-ic-call/index.js +4 -0
- package/icons/add-to-home-screen/index.d.ts +11 -0
- package/icons/add-to-home-screen/index.js +4 -0
- package/icons/admin-panel-settings/index.js +1 -1
- package/icons/airplanemode-active/index.d.ts +11 -0
- package/icons/airplanemode-active/index.js +4 -0
- package/icons/airplanemode-inactive/index.d.ts +11 -0
- package/icons/airplanemode-inactive/index.js +4 -0
- package/icons/alternate-email/index.d.ts +11 -0
- package/icons/alternate-email/index.js +4 -0
- package/icons/app-blocking/index.js +1 -1
- package/icons/arrow-left/index.js +1 -1
- package/icons/attach-email/index.js +1 -1
- package/icons/attribution/index.js +1 -1
- package/icons/backup-table/index.js +1 -1
- package/icons/battery-alert/index.d.ts +11 -0
- package/icons/battery-alert/index.js +4 -0
- package/icons/battery-charging-full/index.d.ts +11 -0
- package/icons/battery-charging-full/index.js +4 -0
- package/icons/battery-full/index.d.ts +11 -0
- package/icons/battery-full/index.js +4 -0
- package/icons/battery-std/index.d.ts +11 -0
- package/icons/battery-std/index.js +4 -0
- package/icons/battery-unknown/index.d.ts +11 -0
- package/icons/battery-unknown/index.js +4 -0
- package/icons/biotech/index.js +1 -1
- package/icons/bluetooth/index.d.ts +11 -0
- package/icons/bluetooth/index.js +4 -0
- package/icons/bluetooth-connected/index.d.ts +11 -0
- package/icons/bluetooth-connected/index.js +4 -0
- package/icons/bluetooth-disabled/index.d.ts +11 -0
- package/icons/bluetooth-disabled/index.js +4 -0
- package/icons/bluetooth-searching/index.d.ts +11 -0
- package/icons/bluetooth-searching/index.js +4 -0
- package/icons/brightness-auto/index.d.ts +11 -0
- package/icons/brightness-auto/index.js +4 -0
- package/icons/brightness-high/index.d.ts +11 -0
- package/icons/brightness-high/index.js +4 -0
- package/icons/brightness-low/index.d.ts +11 -0
- package/icons/brightness-low/index.js +4 -0
- package/icons/brightness-medium/index.d.ts +11 -0
- package/icons/brightness-medium/index.js +4 -0
- package/icons/business/index.d.ts +11 -0
- package/icons/business/index.js +4 -0
- package/icons/call/index.d.ts +11 -0
- package/icons/call/index.js +4 -0
- package/icons/call-end/index.d.ts +11 -0
- package/icons/call-end/index.js +4 -0
- package/icons/call-made/index.d.ts +11 -0
- package/icons/call-made/index.js +4 -0
- package/icons/call-merge/index.d.ts +11 -0
- package/icons/call-merge/index.js +4 -0
- package/icons/call-missed/index.d.ts +11 -0
- package/icons/call-missed/index.js +4 -0
- package/icons/call-missed-outgoing/index.d.ts +11 -0
- package/icons/call-missed-outgoing/index.js +4 -0
- package/icons/call-received/index.d.ts +11 -0
- package/icons/call-received/index.js +4 -0
- package/icons/call-split/index.d.ts +11 -0
- package/icons/call-split/index.js +4 -0
- package/icons/cancel-presentation/index.d.ts +11 -0
- package/icons/cancel-presentation/index.js +4 -0
- package/icons/chat-bubble/index.d.ts +11 -0
- package/icons/chat-bubble/index.js +4 -0
- package/icons/clear-all/index.d.ts +11 -0
- package/icons/clear-all/index.js +4 -0
- package/icons/contact-mail/index.d.ts +11 -0
- package/icons/contact-mail/index.js +4 -0
- package/icons/contact-phone/index.d.ts +11 -0
- package/icons/contact-phone/index.js +4 -0
- package/icons/contacts/index.d.ts +11 -0
- package/icons/contacts/index.js +4 -0
- package/icons/data-usage/index.d.ts +11 -0
- package/icons/data-usage/index.js +4 -0
- package/icons/desktop-access-disabled/index.d.ts +11 -0
- package/icons/desktop-access-disabled/index.js +4 -0
- package/icons/developer-mode/index.d.ts +11 -0
- package/icons/developer-mode/index.js +4 -0
- package/icons/devices/index.d.ts +11 -0
- package/icons/devices/index.js +4 -0
- package/icons/dialer-sip/index.d.ts +11 -0
- package/icons/dialer-sip/index.js +4 -0
- package/icons/dialpad/index.d.ts +11 -0
- package/icons/dialpad/index.js +4 -0
- package/icons/domain-disabled/index.d.ts +11 -0
- package/icons/domain-disabled/index.js +4 -0
- package/icons/domain-verification/index.d.ts +11 -0
- package/icons/domain-verification/index.js +4 -0
- package/icons/double-arrow/index.js +1 -1
- package/icons/duo/index.d.ts +11 -0
- package/icons/duo/index.js +4 -0
- package/icons/dvr/index.d.ts +11 -0
- package/icons/dvr/index.js +4 -0
- package/icons/dynamic-feed/index.js +1 -1
- package/icons/email/index.d.ts +11 -0
- package/icons/email/index.js +4 -0
- package/icons/forward-to-inbox/index.d.ts +11 -0
- package/icons/forward-to-inbox/index.js +4 -0
- package/icons/gps-fixed/index.d.ts +11 -0
- package/icons/gps-fixed/index.js +4 -0
- package/icons/gps-not-fixed/index.d.ts +11 -0
- package/icons/gps-not-fixed/index.js +4 -0
- package/icons/gps-off/index.d.ts +11 -0
- package/icons/gps-off/index.js +4 -0
- package/icons/graphic-eq/index.d.ts +11 -0
- package/icons/graphic-eq/index.js +4 -0
- package/icons/home-work/index.js +1 -1
- package/icons/hourglass-bottom/index.d.ts +11 -0
- package/icons/hourglass-bottom/index.js +4 -0
- package/icons/hourglass-top/index.d.ts +11 -0
- package/icons/hourglass-top/index.js +4 -0
- package/icons/import-contacts/index.d.ts +11 -0
- package/icons/import-contacts/index.js +4 -0
- package/icons/import-export/index.d.ts +11 -0
- package/icons/import-export/index.js +4 -0
- package/icons/insights/index.js +1 -1
- package/icons/invert-colors-off/index.d.ts +11 -0
- package/icons/invert-colors-off/index.js +4 -0
- package/icons/list-alt/index.d.ts +11 -0
- package/icons/list-alt/index.js +4 -0
- package/icons/live-help/index.d.ts +11 -0
- package/icons/live-help/index.js +4 -0
- package/icons/location-disabled/index.d.ts +11 -0
- package/icons/location-disabled/index.js +4 -0
- package/icons/location-off/index.d.ts +11 -0
- package/icons/location-off/index.js +4 -0
- package/icons/location-on/index.d.ts +11 -0
- package/icons/location-on/index.js +4 -0
- package/icons/location-searching/index.d.ts +11 -0
- package/icons/location-searching/index.js +4 -0
- package/icons/logout/index.js +1 -1
- package/icons/mail-outline/index.d.ts +11 -0
- package/icons/mail-outline/index.js +4 -0
- package/icons/mark-email-read/index.d.ts +11 -0
- package/icons/mark-email-read/index.js +4 -0
- package/icons/mark-email-unread/index.d.ts +11 -0
- package/icons/mark-email-unread/index.js +4 -0
- package/icons/message/index.d.ts +11 -0
- package/icons/message/index.js +4 -0
- package/icons/mobile-friendly/index.d.ts +11 -0
- package/icons/mobile-friendly/index.js +4 -0
- package/icons/mobile-off/index.d.ts +11 -0
- package/icons/mobile-off/index.js +4 -0
- package/icons/mobile-screen-share/index.d.ts +11 -0
- package/icons/mobile-screen-share/index.js +4 -0
- package/icons/more-time/index.js +1 -1
- package/icons/nat/index.d.ts +11 -0
- package/icons/nat/index.js +4 -0
- package/icons/nfc/index.d.ts +11 -0
- package/icons/nfc/index.js +4 -0
- package/icons/no-sim/index.d.ts +11 -0
- package/icons/no-sim/index.js +4 -0
- package/icons/pause-presentation/index.d.ts +11 -0
- package/icons/pause-presentation/index.js +4 -0
- package/icons/person-add-disabled/index.d.ts +11 -0
- package/icons/person-add-disabled/index.js +4 -0
- package/icons/person-search/index.d.ts +11 -0
- package/icons/person-search/index.js +4 -0
- package/icons/phone/index.d.ts +11 -0
- package/icons/phone/index.js +4 -0
- package/icons/phone-disabled/index.d.ts +11 -0
- package/icons/phone-disabled/index.js +4 -0
- package/icons/phone-enabled/index.d.ts +11 -0
- package/icons/phone-enabled/index.js +4 -0
- package/icons/phonelink-erase/index.d.ts +11 -0
- package/icons/phonelink-erase/index.js +4 -0
- package/icons/phonelink-lock/index.d.ts +11 -0
- package/icons/phonelink-lock/index.js +4 -0
- package/icons/phonelink-ring/index.d.ts +11 -0
- package/icons/phonelink-ring/index.js +4 -0
- package/icons/phonelink-setup/index.d.ts +11 -0
- package/icons/phonelink-setup/index.js +4 -0
- package/icons/plagiarism/index.js +1 -1
- package/icons/policy/index.js +1 -1
- package/icons/portable-wifi-off/index.d.ts +11 -0
- package/icons/portable-wifi-off/index.js +4 -0
- package/icons/post-add/index.js +1 -1
- package/icons/present-to-all/index.d.ts +11 -0
- package/icons/present-to-all/index.js +4 -0
- package/icons/print-disabled/index.d.ts +11 -0
- package/icons/print-disabled/index.js +4 -0
- package/icons/qr-code/index.d.ts +11 -0
- package/icons/qr-code/index.js +4 -0
- package/icons/qr-code-scanner/index.d.ts +11 -0
- package/icons/qr-code-scanner/index.js +4 -0
- package/icons/quickreply/index.js +1 -1
- package/icons/read-more/index.d.ts +11 -0
- package/icons/read-more/index.js +4 -0
- package/icons/report-outline/index.js +1 -1
- package/icons/ring-volume/index.d.ts +11 -0
- package/icons/ring-volume/index.js +4 -0
- package/icons/rss-feed/index.d.ts +11 -0
- package/icons/rss-feed/index.js +4 -0
- package/icons/screen-lock-landscape/index.d.ts +11 -0
- package/icons/screen-lock-landscape/index.js +4 -0
- package/icons/screen-lock-portrait/index.d.ts +11 -0
- package/icons/screen-lock-portrait/index.js +4 -0
- package/icons/screen-lock-rotation/index.d.ts +11 -0
- package/icons/screen-lock-rotation/index.js +4 -0
- package/icons/screen-rotation/index.d.ts +11 -0
- package/icons/screen-rotation/index.js +4 -0
- package/icons/screen-share/index.d.ts +11 -0
- package/icons/screen-share/index.js +4 -0
- package/icons/sd-storage/index.d.ts +11 -0
- package/icons/sd-storage/index.js +4 -0
- package/icons/search-off/index.js +1 -1
- package/icons/sentiment-satisfied-alt/index.d.ts +11 -0
- package/icons/sentiment-satisfied-alt/index.js +4 -0
- package/icons/settings-system-daydream/index.d.ts +11 -0
- package/icons/settings-system-daydream/index.js +4 -0
- package/icons/signal-cellular-4-bar/index.d.ts +11 -0
- package/icons/signal-cellular-4-bar/index.js +4 -0
- package/icons/signal-cellular-alt/index.d.ts +11 -0
- package/icons/signal-cellular-alt/index.js +4 -0
- package/icons/signal-cellular-connected-no-internet-4-bar/index.d.ts +11 -0
- package/icons/signal-cellular-connected-no-internet-4-bar/index.js +4 -0
- package/icons/signal-cellular-no-sim/index.d.ts +11 -0
- package/icons/signal-cellular-no-sim/index.js +4 -0
- package/icons/signal-cellular-null/index.d.ts +11 -0
- package/icons/signal-cellular-null/index.js +4 -0
- package/icons/signal-cellular-off/index.d.ts +11 -0
- package/icons/signal-cellular-off/index.js +4 -0
- package/icons/signal-wifi-4-bar/index.d.ts +11 -0
- package/icons/signal-wifi-4-bar/index.js +4 -0
- package/icons/signal-wifi-4-bar-lock/index.d.ts +11 -0
- package/icons/signal-wifi-4-bar-lock/index.js +4 -0
- package/icons/signal-wifi-off/index.d.ts +11 -0
- package/icons/signal-wifi-off/index.js +4 -0
- package/icons/speaker-phone/index.d.ts +11 -0
- package/icons/speaker-phone/index.js +4 -0
- package/icons/stay-current-landscape/index.d.ts +11 -0
- package/icons/stay-current-landscape/index.js +4 -0
- package/icons/stay-current-portrait/index.d.ts +11 -0
- package/icons/stay-current-portrait/index.js +4 -0
- package/icons/stay-primary-landscape/index.d.ts +11 -0
- package/icons/stay-primary-landscape/index.js +4 -0
- package/icons/stay-primary-portrait/index.d.ts +11 -0
- package/icons/stay-primary-portrait/index.js +4 -0
- package/icons/stop-screen-share/index.d.ts +11 -0
- package/icons/stop-screen-share/index.js +4 -0
- package/icons/storage/index.d.ts +11 -0
- package/icons/storage/index.js +4 -0
- package/icons/swap-calls/index.d.ts +11 -0
- package/icons/swap-calls/index.js +4 -0
- package/icons/switch-left/index.js +1 -1
- package/icons/switch-right/index.js +1 -1
- package/icons/textsms/index.d.ts +11 -0
- package/icons/textsms/index.js +4 -0
- package/icons/thermostat/index.d.ts +11 -0
- package/icons/thermostat/index.js +4 -0
- package/icons/unsubscribe/index.d.ts +11 -0
- package/icons/unsubscribe/index.js +4 -0
- package/icons/usb/index.d.ts +11 -0
- package/icons/usb/index.js +4 -0
- package/icons/voicemail/index.d.ts +11 -0
- package/icons/voicemail/index.js +4 -0
- package/icons/vpn-key/index.d.ts +11 -0
- package/icons/vpn-key/index.js +4 -0
- package/icons/wallpaper/index.d.ts +11 -0
- package/icons/wallpaper/index.js +4 -0
- package/icons/widgets/index.d.ts +11 -0
- package/icons/widgets/index.js +4 -0
- package/icons/wifi-calling/index.d.ts +11 -0
- package/icons/wifi-calling/index.js +4 -0
- package/icons/wifi-lock/index.d.ts +11 -0
- package/icons/wifi-lock/index.js +4 -0
- package/icons/wifi-tethering/index.d.ts +11 -0
- package/icons/wifi-tethering/index.js +4 -0
- package/package.json +1 -3
- package/popover/index.d.ts +1 -2
- package/popover/index.js +5 -1
- package/popover/utils.d.ts +1 -0
- package/popover/utils.js +1 -0
- package/radio-option/index.d.ts +1 -19
- package/radio-option/index.js +0 -3
- package/radio-option/types.d.ts +18 -0
- package/radio-option/types.js +1 -0
- package/search-option/index.d.ts +1 -10
- package/search-option/index.js +4 -10
- package/search-option/types.d.ts +9 -0
- package/search-option/types.js +1 -0
- package/select-option/index.d.ts +1 -3
- package/select-option/types.d.ts +3 -0
- package/select-option/types.js +1 -0
- package/table/index.js +1 -1
- package/table-cell/index.js +1 -1
- package/table-head-cell/index.js +1 -1
- package/tabs-option/index.d.ts +1 -19
- package/tabs-option/index.js +0 -3
- package/tabs-option/types.d.ts +18 -0
- package/tabs-option/types.js +1 -0
- package/tooltip/index.d.ts +1 -17
- package/tooltip/index.js +1 -1
- package/tooltip/types.d.ts +16 -0
- package/tooltip/types.js +1 -0
- package/tooltip/utils.d.ts +1 -0
- package/tooltip/utils.js +1 -0
- package/index.d.ts +0 -649
- package/index.js +0 -649
package/dropdown/index.d.ts
CHANGED
|
@@ -1,29 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type {
|
|
3
|
-
declare const orientationValues: readonly ["top-left", "top-right", "bottom-left", "bottom-right"];
|
|
4
|
-
export declare type TSinchDropdownOrientation = typeof orientationValues[number];
|
|
5
|
-
export declare type TSinchDropdownElement = HTMLElement & {
|
|
6
|
-
open: boolean;
|
|
7
|
-
multiple: boolean;
|
|
8
|
-
orientation: TSinchDropdownOrientation;
|
|
9
|
-
value: string;
|
|
10
|
-
maxVisibleItems: number | null;
|
|
11
|
-
readonly dropdownRect: TRect;
|
|
12
|
-
focus(): void;
|
|
13
|
-
blur(): void;
|
|
14
|
-
};
|
|
15
|
-
export declare type TSinchDropdownReact = TSinchElementReact<TSinchDropdownElement> & {
|
|
16
|
-
open: boolean;
|
|
17
|
-
multiple?: boolean;
|
|
18
|
-
orientation?: TSinchDropdownOrientation;
|
|
19
|
-
value: string;
|
|
20
|
-
maxVisibleItems?: number;
|
|
21
|
-
'aria-label': string;
|
|
22
|
-
onClose: (event: SyntheticEvent<TSinchDropdownElement, CustomEvent<void>>) => void;
|
|
23
|
-
onChange: (e: SyntheticEvent<TSinchDropdownElement, CustomEvent<string>>) => void;
|
|
24
|
-
onFocus?: (e: FocusEvent<TSinchDropdownElement>) => void;
|
|
25
|
-
onBlur?: (e: FocusEvent<TSinchDropdownElement>) => void;
|
|
26
|
-
};
|
|
1
|
+
import '../popover';
|
|
2
|
+
import type { TSinchDropdownElement, TSinchDropdownReact } from './types';
|
|
27
3
|
declare global {
|
|
28
4
|
namespace JSX {
|
|
29
5
|
interface IntrinsicElements {
|
|
@@ -34,4 +10,3 @@ declare global {
|
|
|
34
10
|
'sinch-dropdown': TSinchDropdownElement;
|
|
35
11
|
}
|
|
36
12
|
}
|
|
37
|
-
export {};
|
package/dropdown/index.js
CHANGED
|
@@ -11,9 +11,10 @@ function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollect
|
|
|
11
11
|
|
|
12
12
|
function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
|
|
13
13
|
|
|
14
|
+
import { orientationValues } from '../popover/utils';
|
|
15
|
+
import '../popover';
|
|
14
16
|
import { attrValueToPixels, defineCustomElement, getAttribute, getBooleanAttribute, getCsvSet, getFirstCsvValue, getIntegerAttribute, getLiteralAttribute, getReactEventHandler, isAttrTrue, NectaryElement, updateAttribute, updateBooleanAttribute, updateCsv, updateIntegerAttribute, updateLiteralAttribute } from '../utils';
|
|
15
17
|
const templateHTML = '<style>:host{display:inline-block;vertical-align:middle;outline:0}sinch-popover{width:100%}</style><sinch-popover><slot name="target" slot="target"></slot><div id="listbox" slot="content"><slot name="option"></slot></div></sinch-popover>';
|
|
16
|
-
const orientationValues = ['top-left', 'top-right', 'bottom-left', 'bottom-right'];
|
|
17
18
|
const ITEM_HEIGHT = 40;
|
|
18
19
|
const template = document.createElement('template');
|
|
19
20
|
template.innerHTML = templateHTML;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { TSinchPopoverOrientation } from '../popover';
|
|
2
|
+
import type { TRect, TSinchElementReact } from '../types';
|
|
3
|
+
import type { FocusEvent, SyntheticEvent } from 'react';
|
|
4
|
+
export declare type TSinchDropdownElement = HTMLElement & {
|
|
5
|
+
open: boolean;
|
|
6
|
+
multiple: boolean;
|
|
7
|
+
orientation: TSinchPopoverOrientation;
|
|
8
|
+
value: string;
|
|
9
|
+
maxVisibleItems: number | null;
|
|
10
|
+
readonly dropdownRect: TRect;
|
|
11
|
+
focus(): void;
|
|
12
|
+
blur(): void;
|
|
13
|
+
};
|
|
14
|
+
export declare type TSinchDropdownReact = TSinchElementReact<TSinchDropdownElement> & {
|
|
15
|
+
open: boolean;
|
|
16
|
+
multiple?: boolean;
|
|
17
|
+
orientation?: TSinchPopoverOrientation;
|
|
18
|
+
value: string;
|
|
19
|
+
maxVisibleItems?: number;
|
|
20
|
+
'aria-label': string;
|
|
21
|
+
onClose: (event: SyntheticEvent<TSinchDropdownElement, CustomEvent<void>>) => void;
|
|
22
|
+
onChange: (e: SyntheticEvent<TSinchDropdownElement, CustomEvent<string>>) => void;
|
|
23
|
+
onFocus?: (e: FocusEvent<TSinchDropdownElement>) => void;
|
|
24
|
+
onBlur?: (e: FocusEvent<TSinchDropdownElement>) => void;
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare type TSinchDropdownCheckboxOptionElement = HTMLElement & {
|
|
3
|
-
value: string;
|
|
4
|
-
text: string;
|
|
5
|
-
checked: boolean;
|
|
6
|
-
selected: boolean;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
};
|
|
9
|
-
export declare type TSinchDropdownCheckboxOptionReact = TSinchElementReact<TSinchDropdownCheckboxOptionElement> & {
|
|
10
|
-
value: string;
|
|
11
|
-
text: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
'aria-label': string;
|
|
14
|
-
};
|
|
1
|
+
import type { TSinchDropdownCheckboxOptionElement, TSinchDropdownCheckboxOptionReact } from './types';
|
|
15
2
|
declare global {
|
|
16
3
|
namespace JSX {
|
|
17
4
|
interface IntrinsicElements {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { TSinchElementReact } from '../types';
|
|
2
|
+
export declare type TSinchDropdownCheckboxOptionElement = HTMLElement & {
|
|
3
|
+
value: string;
|
|
4
|
+
text: string;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
selected: boolean;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare type TSinchDropdownCheckboxOptionReact = TSinchElementReact<TSinchDropdownCheckboxOptionElement> & {
|
|
10
|
+
value: string;
|
|
11
|
+
text: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
'aria-label': string;
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare type TSinchDropdownRadioOptionElement = HTMLElement & {
|
|
3
|
-
value: string;
|
|
4
|
-
text: string;
|
|
5
|
-
checked: boolean;
|
|
6
|
-
selected: boolean;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
};
|
|
9
|
-
export declare type TSinchDropdownRadioOptionReact = TSinchElementReact<TSinchDropdownRadioOptionElement> & {
|
|
10
|
-
value: string;
|
|
11
|
-
text: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
'aria-label': string;
|
|
14
|
-
};
|
|
1
|
+
import type { TSinchDropdownRadioOptionElement, TSinchDropdownRadioOptionReact } from './types';
|
|
15
2
|
declare global {
|
|
16
3
|
namespace JSX {
|
|
17
4
|
interface IntrinsicElements {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { TSinchElementReact } from '../types';
|
|
2
|
+
export declare type TSinchDropdownRadioOptionElement = HTMLElement & {
|
|
3
|
+
value: string;
|
|
4
|
+
text: string;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
selected: boolean;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare type TSinchDropdownRadioOptionReact = TSinchElementReact<TSinchDropdownRadioOptionElement> & {
|
|
10
|
+
value: string;
|
|
11
|
+
text: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
'aria-label': string;
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NectaryElement } from '../utils';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TSinchDropdownTextOptionElement, TSinchDropdownTextOptionReact } from './types';
|
|
3
3
|
export declare class DropdownTextOption extends NectaryElement {
|
|
4
4
|
#private;
|
|
5
5
|
constructor();
|
|
@@ -18,20 +18,6 @@ export declare class DropdownTextOption extends NectaryElement {
|
|
|
18
18
|
get selected(): boolean;
|
|
19
19
|
get icon(): Element | null;
|
|
20
20
|
}
|
|
21
|
-
export declare type TSinchDropdownTextOptionElement = HTMLElement & {
|
|
22
|
-
value: string;
|
|
23
|
-
text: string;
|
|
24
|
-
checked: boolean;
|
|
25
|
-
selected: boolean;
|
|
26
|
-
disabled: boolean;
|
|
27
|
-
readonly icon: Element | null;
|
|
28
|
-
};
|
|
29
|
-
export declare type TSinchDropdownTextOptionReact = TSinchElementReact<TSinchDropdownTextOptionElement> & {
|
|
30
|
-
value: string;
|
|
31
|
-
text: string;
|
|
32
|
-
disabled?: boolean;
|
|
33
|
-
'aria-label': string;
|
|
34
|
-
};
|
|
35
21
|
declare global {
|
|
36
22
|
namespace JSX {
|
|
37
23
|
interface IntrinsicElements {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { TSinchElementReact } from '../types';
|
|
2
|
+
export declare type TSinchDropdownTextOptionElement = HTMLElement & {
|
|
3
|
+
value: string;
|
|
4
|
+
text: string;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
selected: boolean;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
readonly icon: Element | null;
|
|
9
|
+
};
|
|
10
|
+
export declare type TSinchDropdownTextOptionReact = TSinchElementReact<TSinchDropdownTextOptionElement> & {
|
|
11
|
+
value: string;
|
|
12
|
+
text: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
'aria-label': string;
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/grid/index.d.ts
CHANGED
package/grid/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { defineCustomElement, NectaryElement } from '../utils';
|
|
2
2
|
const templateHTML = '<style>:host{--sinch-grid-gutter:24px;--sinch-grid-margin:32px;--sinch-grid-num-columns:12;display:grid;grid-template-columns:repeat(var(--sinch-grid-num-columns),minmax(0,1fr));grid-column-gap:var(--sinch-grid-gutter);grid-row-gap:var(--sinch-grid-gutter);padding:var(--sinch-grid-margin)}@media only screen and (max-width:1439px){:host{--sinch-grid-gutter:24px;--sinch-grid-margin:24px;--sinch-grid-num-columns:12}}@media only screen and (max-width:1023px){:host{--sinch-grid-gutter:24px;--sinch-grid-margin:24px;--sinch-grid-num-columns:8}}@media only screen and (max-width:767px){:host{--sinch-grid-gutter:16px;--sinch-grid-margin:16px;--sinch-grid-num-columns:4}}</style><slot name="item"></slot>';
|
|
3
|
-
import '../grid-item';
|
|
4
3
|
const template = document.createElement('template');
|
|
5
4
|
template.innerHTML = templateHTML;
|
|
6
5
|
defineCustomElement('sinch-grid', class extends NectaryElement {
|
package/grid-item/index.d.ts
CHANGED
|
@@ -1,23 +1,11 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare type TSinchGridElement = HTMLElement & {
|
|
3
|
-
xl: number | null;
|
|
4
|
-
l: number | null;
|
|
5
|
-
m: number | null;
|
|
6
|
-
s: number | null;
|
|
7
|
-
};
|
|
8
|
-
export declare type TSinchGridReact = TSinchElementReact<TSinchGridElement> & {
|
|
9
|
-
xl?: number;
|
|
10
|
-
l?: number;
|
|
11
|
-
m?: number;
|
|
12
|
-
s?: number;
|
|
13
|
-
};
|
|
1
|
+
import type { TSinchGridItemElement, TSinchGridItemReact } from './types';
|
|
14
2
|
declare global {
|
|
15
3
|
namespace JSX {
|
|
16
4
|
interface IntrinsicElements {
|
|
17
|
-
'sinch-grid-item':
|
|
5
|
+
'sinch-grid-item': TSinchGridItemReact;
|
|
18
6
|
}
|
|
19
7
|
}
|
|
20
8
|
interface HTMLElementTagNameMap {
|
|
21
|
-
'sinch-grid-item':
|
|
9
|
+
'sinch-grid-item': TSinchGridItemElement;
|
|
22
10
|
}
|
|
23
11
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { TSinchElementReact } from '../types';
|
|
2
|
+
export declare type TSinchGridItemElement = HTMLElement & {
|
|
3
|
+
xl: number | null;
|
|
4
|
+
l: number | null;
|
|
5
|
+
m: number | null;
|
|
6
|
+
s: number | null;
|
|
7
|
+
};
|
|
8
|
+
export declare type TSinchGridItemReact = TSinchElementReact<TSinchGridItemElement> & {
|
|
9
|
+
xl?: number;
|
|
10
|
+
l?: number;
|
|
11
|
+
m?: number;
|
|
12
|
+
s?: number;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/help-tooltip/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../tooltip';
|
|
2
2
|
import '../icons/help-outline';
|
|
3
|
-
import type { TSinchTooltipElement, TSinchTooltipReact } from '../tooltip';
|
|
3
|
+
import type { TSinchTooltipElement, TSinchTooltipReact } from '../tooltip/types';
|
|
4
4
|
export declare type TSinchHelpTooltipElement = TSinchTooltipElement;
|
|
5
5
|
export declare type TSinchHelpTooltipReact = TSinchTooltipReact;
|
|
6
6
|
declare global {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-access-alarm': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-access-alarm': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="m15.87 15.25-3.37-2V8.72c0-.4-.32-.72-.72-.72h-.06c-.4 0-.72.32-.72.72v4.72c0 .35.18.68.49.86l3.65 2.19c.34.2.78.1.98-.24.21-.35.1-.8-.25-1Zm5.31-10.24L18.1 2.45c-.42-.35-1.05-.3-1.41.13-.35.42-.29 1.05.13 1.41l3.07 2.56c.42.35 1.05.3 1.41-.13a1 1 0 0 0-.12-1.41ZM4.1 6.55l3.07-2.56c.43-.36.49-.99.13-1.41a.988.988 0 0 0-1.4-.13L2.82 5.01a1 1 0 0 0-.12 1.41c.35.43.98.48 1.4.13ZM12 4a9 9 0 1 0 .001 18.001A9 9 0 0 0 12 4Zm0 16c-3.86 0-7-3.14-7-7s3.14-7 7-7 7 3.14 7 7-3.14 7-7 7Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-access-alarm', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-access-alarms': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-access-alarms': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="m15.87 15.25-3.37-2V8.72c0-.4-.32-.72-.72-.72h-.06c-.4 0-.72.32-.72.72v4.72c0 .35.18.68.49.86l3.65 2.19c.34.2.78.1.98-.24.21-.35.1-.8-.25-1Zm5.31-10.24L18.1 2.45c-.42-.35-1.05-.3-1.41.13-.35.42-.29 1.05.13 1.41l3.07 2.56c.42.35 1.05.3 1.41-.13a1 1 0 0 0-.12-1.41ZM4.1 6.55l3.07-2.56c.43-.36.49-.99.13-1.41a.988.988 0 0 0-1.4-.13L2.82 5.01a1 1 0 0 0-.12 1.41c.35.43.98.48 1.4.13ZM12 4a9 9 0 1 0 .001 18.001A9 9 0 0 0 12 4Zm0 16c-3.86 0-7-3.14-7-7s3.14-7 7-7 7 3.14 7 7-3.14 7-7 7Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-access-alarms', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-ad-units': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-ad-units': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M17 1H7c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2Zm-1 18H8c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h8c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1Z"/><path d="M15 6H9c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-ad-units', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-add-alarm': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-add-alarm': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M15 12h-2v-2c0-.55-.45-1-1-1s-1 .45-1 1v2H9c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h2c.55 0 1-.45 1-1s-.45-1-1-1Zm6.18-6.99L18.1 2.45c-.42-.35-1.05-.3-1.41.13-.35.42-.29 1.05.13 1.41l3.07 2.56c.42.35 1.05.3 1.41-.13a1 1 0 0 0-.12-1.41ZM4.1 6.55l3.07-2.56c.43-.36.49-.99.13-1.41a.988.988 0 0 0-1.4-.13L2.82 5.01a1 1 0 0 0-.12 1.41c.35.43.98.48 1.4.13ZM12 4a9 9 0 1 0 .001 18.001A9 9 0 0 0 12 4Zm0 16c-3.86 0-7-3.14-7-7s3.14-7 7-7 7 3.14 7 7-3.14 7-7 7Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-add-alarm', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-add-ic-call': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-add-ic-call': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M14 8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h2c.55 0 1-.45 1-1s-.45-1-1-1h-2V4c0-.55-.45-1-1-1s-1 .45-1 1v2h-2c-.55 0-1 .45-1 1s.45 1 1 1Zm5.21 7.27-2.54-.29a1.99 1.99 0 0 0-1.64.57l-1.84 1.84A15.045 15.045 0 0 1 6.6 10.8l1.85-1.85c.43-.43.64-1.04.57-1.64l-.29-2.52a2 2 0 0 0-1.98-1.78H5.02c-1.13 0-2.07.94-2 2.07.53 8.54 7.36 15.36 15.89 15.89 1.13.07 2.07-.87 2.07-2v-1.73c.01-1-.76-1.86-1.77-1.97Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-add-ic-call', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-add-to-home-screen': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-add-to-home-screen': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M18 1.01 8 1c-1.1 0-2 .9-2 2v3c0 .55.45 1 1 1s1-.45 1-1V5h10v14H8v-1c0-.55-.45-1-1-1s-1 .45-1 1v3c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99ZM11 15c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1s.45 1 1 1h2.59L3.7 14.89a.996.996 0 1 0 1.41 1.41L10 11.41V14c0 .55.45 1 1 1Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-add-to-home-screen', createIconClass(templateHTML));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { defineCustomElement } from '../../utils';
|
|
2
2
|
import { createIconClass } from '../create-icon-class';
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M17 11c.34 0 .67.04 1 .09V7.58c0-.8-.47-1.52-1.2-1.83l-5.5-2.4c-.51-.22-1.09-.22-1.6 0l-5.5 2.4C3.47 6.07 3 6.79 3 7.58v3.6c0 4.54 3.2 8.79 7.5 9.82.55-.13 1.08-.32 1.6-.55-.69-.98-1.1-2.17-1.1-3.45 0-3.31 2.69-6 6-6Z"/><path d="M17 13c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4Zm0 1.38c.62 0 1.12.51 1.12 1.12 0 .61-.51 1.12-1.12 1.12-.61 0-1.12-.51-1.12-1.12 0-.61.5-1.12 1.12-1.12Zm0 5.37c-.93 0-1.74-.46-2.24-1.17.05-.72 1.51-1.08 2.24-1.08.73 0 2.19.36 2.24 1.08-.5.71-1.31 1.17-2.24 1.17Z"
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M17 11c.34 0 .67.04 1 .09V7.58c0-.8-.47-1.52-1.2-1.83l-5.5-2.4c-.51-.22-1.09-.22-1.6 0l-5.5 2.4C3.47 6.07 3 6.79 3 7.58v3.6c0 4.54 3.2 8.79 7.5 9.82.55-.13 1.08-.32 1.6-.55-.69-.98-1.1-2.17-1.1-3.45 0-3.31 2.69-6 6-6Z"/><path d="M17 13c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4Zm0 1.38c.62 0 1.12.51 1.12 1.12 0 .61-.51 1.12-1.12 1.12-.61 0-1.12-.51-1.12-1.12 0-.61.5-1.12 1.12-1.12Zm0 5.37c-.93 0-1.74-.46-2.24-1.17.05-.72 1.51-1.08 2.24-1.08.73 0 2.19.36 2.24 1.08-.5.71-1.31 1.17-2.24 1.17Z"/></svg>';
|
|
4
4
|
defineCustomElement('sinch-icon-admin-panel-settings', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-airplanemode-active': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-airplanemode-active': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M21.48 13.7 13.5 9V3.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5V9l-7.98 4.7c-.32.18-.52.53-.52.9 0 .7.67 1.2 1.34 1.01l7.16-2.1V19l-2.26 1.35c-.15.09-.24.26-.24.43v.58c0 .33.31.57.62.49l2.92-.73L12 21l.38.09.42.11 1.9.48.67.17c.32.08.62-.16.62-.49v-.58c0-.18-.09-.34-.24-.43L13.5 19v-5.5l7.16 2.1c.67.2 1.34-.3 1.34-1 0-.37-.2-.72-.52-.9Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-airplanemode-active', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-airplanemode-inactive': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-airplanemode-inactive': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M22 14.6c0 .7-.67 1.2-1.34 1.01l-3.15-.93-7.01-7.01V3.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V9l7.98 4.7c.32.18.52.53.52.9Zm-8.5-1.1L9.56 9.56 3.51 3.51A.996.996 0 1 0 2.1 4.92l5.67 5.67-5.25 3.11c-.32.18-.52.53-.52.9 0 .7.67 1.2 1.34 1.01l7.16-2.1V19l-2.26 1.35c-.15.09-.24.26-.24.43v.58c0 .33.31.57.62.49l2.92-.73L12 21l.38.09.42.11 1.9.48.67.17c.32.08.62-.16.62-.49v-.58c0-.18-.09-.34-.24-.43L13.5 19v-2.67l5.57 5.57a.996.996 0 1 0 1.41-1.41L13.5 13.5Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-airplanemode-inactive', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-alternate-email': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-alternate-email': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12.72 2.03A9.991 9.991 0 0 0 2.03 12.72C2.39 18.01 7.01 22 12.31 22H16c.55 0 1-.45 1-1s-.45-1-1-1h-3.67c-3.73 0-7.15-2.42-8.08-6.03-1.49-5.8 3.91-11.21 9.71-9.71C17.58 5.18 20 8.6 20 12.33v1.1c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57v-1.25c0-2.51-1.78-4.77-4.26-5.12a5.008 5.008 0 0 0-5.66 5.87 4.996 4.996 0 0 0 3.72 3.94c1.84.43 3.59-.16 4.74-1.33.89 1.22 2.67 1.86 4.3 1.21 1.34-.53 2.16-1.9 2.16-3.34v-1.09c0-5.31-3.99-9.93-9.28-10.29ZM12 15c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-alternate-email', createIconClass(templateHTML));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { defineCustomElement } from '../../utils';
|
|
2
2
|
import { createIconClass } from '../create-icon-class';
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M18 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4Zm-2.5 4A2.5 2.5 0 0 1 18 9.5c.42 0 .8.11 1.15.29l-3.36 3.36c-.18-.35-.29-.73-.29-1.15Zm2.5 2.5c-.42 0-.8-.11-1.15-.29l3.36-3.36c.18.35.29.73.29 1.15a2.5 2.5 0 0 1-2.5 2.5Z"/><path d="M17 18H7V6h10v1h2V3c0-1.1-.9-2-2-2H7c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2v-4h-2v1Z"
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M18 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4Zm-2.5 4A2.5 2.5 0 0 1 18 9.5c.42 0 .8.11 1.15.29l-3.36 3.36c-.18-.35-.29-.73-.29-1.15Zm2.5 2.5c-.42 0-.8-.11-1.15-.29l3.36-3.36c.18.35.29.73.29 1.15a2.5 2.5 0 0 1-2.5 2.5Z"/><path d="M17 18H7V6h10v1h2V3c0-1.1-.9-2-2-2H7c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2v-4h-2v1Z"/></svg>';
|
|
4
4
|
defineCustomElement('sinch-icon-app-blocking', createIconClass(templateHTML));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { defineCustomElement } from '../../utils';
|
|
2
2
|
import { createIconClass } from '../create-icon-class';
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12.29 8.71 9.7 11.3a.996.996 0 0 0 0 1.41l2.59 2.59c.63.63 1.71.18 1.71-.71V9.41c0-.89-1.08-1.33-1.71-.7Z"
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M12.29 8.71 9.7 11.3a.996.996 0 0 0 0 1.41l2.59 2.59c.63.63 1.71.18 1.71-.71V9.41c0-.89-1.08-1.33-1.71-.7Z"/></svg>';
|
|
4
4
|
defineCustomElement('sinch-icon-arrow-left', createIconClass(templateHTML));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { defineCustomElement } from '../../utils';
|
|
2
2
|
import { createIconClass } from '../create-icon-class';
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M21 10V4c0-1.1-.9-2-2-2H3c-1.1 0-1.99.9-1.99 2L1 16c0 1.1.9 2 2 2h11v-5c0-1.66 1.34-3 3-3h4Zm-9.47.67c-.32.2-.74.2-1.06 0L3.4 6.25a.85.85 0 1 1 .9-1.44L11 9l6.7-4.19a.85.85 0 1 1 .9 1.44l-7.07 4.42Z"
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M21 10V4c0-1.1-.9-2-2-2H3c-1.1 0-1.99.9-1.99 2L1 16c0 1.1.9 2 2 2h11v-5c0-1.66 1.34-3 3-3h4Zm-9.47.67c-.32.2-.74.2-1.06 0L3.4 6.25a.85.85 0 1 1 .9-1.44L11 9l6.7-4.19a.85.85 0 1 1 .9 1.44l-7.07 4.42Z"/><path d="M22 14c-.55 0-1 .45-1 1v3c0 1.1-.9 2-2 2s-2-.9-2-2v-4.5c0-.28.22-.5.5-.5s.5.22.5.5V17c0 .55.45 1 1 1s1-.45 1-1v-3.5a2.5 2.5 0 0 0-5 0V18c0 2.21 1.79 4 4 4s4-1.79 4-4v-3c0-.55-.45-1-1-1Z"/></svg>';
|
|
4
4
|
defineCustomElement('sinch-icon-attach-email', createIconClass(templateHTML));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { defineCustomElement } from '../../utils';
|
|
2
2
|
import { createIconClass } from '../create-icon-class';
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 8.5c-.91 0-2.75.46-2.75 1.38V14c0 .28.22.5.5.5h1v3.25a1.25 1.25 0 0 0 2.5 0V14.5h1c.28 0 .5-.22.5-.5V9.88c0-.91-1.84-1.38-2.75-1.38ZM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.48 10-10S17.52 2 12 2Zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Z"/><path d="M12 8a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 8.5c-.91 0-2.75.46-2.75 1.38V14c0 .28.22.5.5.5h1v3.25a1.25 1.25 0 0 0 2.5 0V14.5h1c.28 0 .5-.22.5-.5V9.88c0-.91-1.84-1.38-2.75-1.38ZM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.48 10-10S17.52 2 12 2Zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8Z"/><path d="M12 8a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"/></svg>';
|
|
4
4
|
defineCustomElement('sinch-icon-attribution', createIconClass(templateHTML));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { defineCustomElement } from '../../utils';
|
|
2
2
|
import { createIconClass } from '../create-icon-class';
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M20 7v12c0 .55-.45 1-1 1H7c-.55 0-1 .45-1 1s.45 1 1 1h13c1.1 0 2-.9 2-2V7c0-.55-.45-1-1-1s-1 .45-1 1Z"/><path d="M16 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2ZM9 16H4v-5h5v5Zm7 0h-5v-5h5v5Zm0-7H4V4h12v5Z"
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M20 7v12c0 .55-.45 1-1 1H7c-.55 0-1 .45-1 1s.45 1 1 1h13c1.1 0 2-.9 2-2V7c0-.55-.45-1-1-1s-1 .45-1 1Z"/><path d="M16 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2ZM9 16H4v-5h5v5Zm7 0h-5v-5h5v5Zm0-7H4V4h12v5Z"/></svg>';
|
|
4
4
|
defineCustomElement('sinch-icon-backup-table', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-battery-alert': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-battery-alert': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M15.67 4H14V3c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v1H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.34 22h7.32c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4ZM13 18h-2v-2h2v2Zm0-5c0 .55-.45 1-1 1s-1-.45-1-1v-3c0-.55.45-1 1-1s1 .45 1 1v3Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-battery-alert', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-battery-charging-full': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-battery-charging-full': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M15.67 4H14V3c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v1H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.34 22h7.32c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4Zm-1.06 9.24-2.67 5c-.24.45-.94.28-.94-.24v-3.5H9.83a.5.5 0 0 1-.44-.74l2.67-5c.24-.45.94-.28.94.24v3.5h1.17c.37 0 .62.4.44.74Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-battery-charging-full', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-battery-full': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-battery-full': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M15.67 4H14V3c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v1H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.34 22h7.32c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-battery-full', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-battery-std': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-battery-std': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M15.67 4H14V3c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v1H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.34 22h7.32c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-battery-std', createIconClass(templateHTML));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TSinchIconElement, TSinchIconReact } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
namespace JSX {
|
|
4
|
+
interface IntrinsicElements {
|
|
5
|
+
'sinch-icon-battery-unknown': TSinchIconReact;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'sinch-icon-battery-unknown': TSinchIconElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineCustomElement } from '../../utils';
|
|
2
|
+
import { createIconClass } from '../create-icon-class';
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M15.67 4H14V3c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v1H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.34 22h7.32c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4ZM13 18h-2v-2h2v2Zm1.3-5.31s-.38.42-.67.71c-.14.14-.27.31-.39.47l-.09.15c-.08.12-.14.25-.19.37-.09.22-.16.43-.16.61h-1.6c0-.42.12-.8.29-1.13.06-.11.13-.21.2-.31.03-.05.06-.11.1-.16.11-.14.23-.28.34-.4l.93-.94A1.498 1.498 0 0 0 12 9.5c-.65 0-1.21.41-1.41.99a.75.75 0 0 1-.71.51c-.52 0-.88-.52-.71-1.01A3.005 3.005 0 0 1 12 8c1.66 0 3 1.34 3 3 0 .66-.27 1.26-.7 1.69Z"/></svg>';
|
|
4
|
+
defineCustomElement('sinch-icon-battery-unknown', createIconClass(templateHTML));
|
package/icons/biotech/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { defineCustomElement } from '../../utils';
|
|
2
2
|
import { createIconClass } from '../create-icon-class';
|
|
3
|
-
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 19c-1.1 0-2 .9-2 2h14c0-1.1-.9-2-2-2h-4v-2h3c1.1 0 2-.9 2-2h-8c-1.66 0-3-1.34-3-3 0-1.09.59-2.04 1.46-2.56C8.17 9.03 8 8.54 8 8c0-.21.04-.42.09-.62A5.01 5.01 0 0 0 5 12c0 2.76 2.24 5 5 5v2H7Z"/><path d="M10.56 5.51C11.91 5.54 13 6.64 13 8c0 .75-.33 1.41-.85 1.87l.25.68c.19.52.76.79 1.28.6.19.52.76.79 1.28.6.52-.19.79-.76.6-1.28.52-.19.79-.76.6-1.28L14.1 3.54a.998.998 0 0 0-1.28-.6.998.998 0 0 0-1.28-.6c-.52.19-.79.76-.6 1.28-.52.19-.79.76-.6 1.28l.22.61Z"
|
|
3
|
+
const templateHTML = '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 19c-1.1 0-2 .9-2 2h14c0-1.1-.9-2-2-2h-4v-2h3c1.1 0 2-.9 2-2h-8c-1.66 0-3-1.34-3-3 0-1.09.59-2.04 1.46-2.56C8.17 9.03 8 8.54 8 8c0-.21.04-.42.09-.62A5.01 5.01 0 0 0 5 12c0 2.76 2.24 5 5 5v2H7Z"/><path d="M10.56 5.51C11.91 5.54 13 6.64 13 8c0 .75-.33 1.41-.85 1.87l.25.68c.19.52.76.79 1.28.6.19.52.76.79 1.28.6.52-.19.79-.76.6-1.28.52-.19.79-.76.6-1.28L14.1 3.54a.998.998 0 0 0-1.28-.6.998.998 0 0 0-1.28-.6c-.52.19-.79.76-.6 1.28-.52.19-.79.76-.6 1.28l.22.61Z"/><path d="M10.5 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"/></svg>';
|
|
4
4
|
defineCustomElement('sinch-icon-biotech', createIconClass(templateHTML));
|