@ttoss/theme 1.7.21 → 1.7.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -674
- package/dist/esm/chunk-ZELVNPEV.js +1531 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/themes/Bruttal/Bruttal.js +3 -0
- package/dist/index.d.ts +5 -0
- package/dist/themes/Bruttal/Bruttal.d.ts +13 -0
- package/package.json +7 -8
- package/src/createTheme.ts +0 -7
- package/src/helpers/geometricCalc.ts +0 -23
- package/src/index.ts +0 -1
- package/src/themes/Bruttal/Bruttal.ts +0 -5
- package/src/themes/Bruttal/BruttalFonts.ts +0 -5
- package/src/themes/Bruttal/BruttalIcons.ts +0 -130
- package/src/themes/Bruttal/BruttalTheme.ts +0 -568
- package/src/tokens/fontSizes.ts +0 -21
- package/src/tokens/fontWeights.ts +0 -10
- package/src/tokens/letterSpacings.ts +0 -8
- package/src/tokens/lineHeights.ts +0 -21
- package/src/tokens/space.ts +0 -26
- package/src/tokens/zIndices.ts +0 -91
- package/tsconfig.json +0 -3
package/src/tokens/zIndices.ts
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
export const zIndices = {
|
|
2
|
-
deep: -9999,
|
|
3
|
-
behind: -1,
|
|
4
|
-
auto: 'auto',
|
|
5
|
-
base: 0,
|
|
6
|
-
docked: 10,
|
|
7
|
-
/**
|
|
8
|
-
* Sticky is a CSS property that can be applied to an element to make it
|
|
9
|
-
* "stick" or remain fixed in a specific position relative to the viewport
|
|
10
|
-
* as the user scrolls the page. When an element is set as sticky, it will
|
|
11
|
-
* initially behave like a normal element but once the user scrolls past a
|
|
12
|
-
* certain threshold, it will stick to the designated position.
|
|
13
|
-
*/
|
|
14
|
-
sticky: 100,
|
|
15
|
-
/**
|
|
16
|
-
* An overlay is a graphical element used in user interfaces to cover or
|
|
17
|
-
* partially obscure the underlying content. It is typically a
|
|
18
|
-
* semi-transparent or opaque layer that is positioned above other elements
|
|
19
|
-
* on the screen. Overlays are commonly employed to provide visual effects,
|
|
20
|
-
* create modal or pop-up dialogs, highlight or focus user attention, or
|
|
21
|
-
* serve as a background for elements such as tooltips, modals, or dropdown
|
|
22
|
-
* menus. They are often used to add depth, dimension, and visual hierarchy
|
|
23
|
-
* to the interface by visually separating or layering content.
|
|
24
|
-
*/
|
|
25
|
-
overlay: 1000,
|
|
26
|
-
/**
|
|
27
|
-
* A modal is a user interface component that appears as a dialog or window
|
|
28
|
-
* overlay on top of the main content, temporarily interrupting the user's
|
|
29
|
-
* interaction flow. It is commonly used to display additional information,
|
|
30
|
-
* request user input, or confirm an action. Modals typically have a higher
|
|
31
|
-
* z-index value than other elements on the page to ensure they are visually
|
|
32
|
-
* prominent and receive the user's full attention. They often feature a
|
|
33
|
-
* close button or an overlay click outside the modal to dismiss them and
|
|
34
|
-
* return to the underlying content. Modals help to focus user attention and
|
|
35
|
-
* provide a context-specific interaction within a larger interface.
|
|
36
|
-
*/
|
|
37
|
-
modal: 2000,
|
|
38
|
-
/**
|
|
39
|
-
* A dropdown is a user interface component that presents a list of
|
|
40
|
-
* selectable options when triggered by a user action, such as clicking on a
|
|
41
|
-
* dropdown button or input field. When activated, a dropdown expands
|
|
42
|
-
* vertically to reveal a list of choices, allowing the user to select a
|
|
43
|
-
* single option. The selected option is then displayed in the closed state
|
|
44
|
-
* of the dropdown. Dropdowns are commonly used to conserve space on a page
|
|
45
|
-
* or provide a convenient way to choose from a predefined set of options.
|
|
46
|
-
* They can be found in various contexts, such as navigation menus, form
|
|
47
|
-
* inputs, or filter controls. Dropdowns enhance user interaction by
|
|
48
|
-
* providing a compact and organized selection mechanism within the interface.
|
|
49
|
-
*/
|
|
50
|
-
dropdown: 3000,
|
|
51
|
-
/**
|
|
52
|
-
* A popover is a user interface component that provides contextual
|
|
53
|
-
* information or options when triggered by a user action, such as hovering
|
|
54
|
-
* over an element or clicking a button. It typically appears as a small
|
|
55
|
-
* overlay near the triggering element, offering additional details, actions,
|
|
56
|
-
* or related content. Popovers are designed to be non-intrusive and provide
|
|
57
|
-
* concise information or quick actions without requiring the user to
|
|
58
|
-
* navigate to a different page or screen. They are often used to enhance the
|
|
59
|
-
* user's understanding or provide supplementary functionality within a
|
|
60
|
-
* specific context. Popovers are commonly positioned above other elements in
|
|
61
|
-
* the interface to ensure visibility and accessibility.
|
|
62
|
-
*/
|
|
63
|
-
popover: 4000,
|
|
64
|
-
/**
|
|
65
|
-
* A tooltip is a small, informative message or hint that appears when a user
|
|
66
|
-
* hovers over or interacts with an element, such as a button, link, or icon.
|
|
67
|
-
* It is typically displayed as a brief, contextual text or label that
|
|
68
|
-
* provides additional information or clarifies the purpose of the element.
|
|
69
|
-
* Tooltips are used to improve the user's understanding of interface
|
|
70
|
-
* elements and enhance usability. They are generally positioned near the
|
|
71
|
-
* associated element, often appearing as a small box or bubble that pops up
|
|
72
|
-
* temporarily and disappears when the user moves the cursor away from the
|
|
73
|
-
* element. Tooltips are designed to be unobtrusive and provide helpful
|
|
74
|
-
* guidance or supplementary details without requiring the user to take any
|
|
75
|
-
* additional actions.
|
|
76
|
-
*/
|
|
77
|
-
tooltip: 5000,
|
|
78
|
-
/**
|
|
79
|
-
* A toast is a brief, temporary notification or message that appears on the
|
|
80
|
-
* screen to provide important information or alerts to the user. It
|
|
81
|
-
* typically appears as a small box or banner positioned in a non-intrusive
|
|
82
|
-
* area of the interface, such as the top or bottom of the screen. Toasts are
|
|
83
|
-
* used to communicate updates, notifications, or status messages that may
|
|
84
|
-
* require the user's attention but do not require immediate action. They are
|
|
85
|
-
* designed to be unobtrusive and automatically disappear after a short
|
|
86
|
-
* period, often with a fade-out animation. Toasts are commonly used in web
|
|
87
|
-
* and mobile applications to provide timely feedback or inform the user
|
|
88
|
-
* about completed actions, errors, or system updates.
|
|
89
|
-
*/
|
|
90
|
-
toast: 6000,
|
|
91
|
-
};
|
package/tsconfig.json
DELETED