@actabldesign/bellhop-styles 0.0.3 → 0.0.12
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/README.md +105 -70
- package/dist/index.css +1538 -0
- package/dist/utilities.css +5730 -0
- package/llms.txt +2852 -0
- package/package.json +29 -20
- package/project.json +29 -0
- package/rollup.config.js +44 -0
- package/{base → src/base}/normalize.css +4 -0
- package/src/bh-tokens/_primitives.scss +296 -0
- package/src/bh-tokens/_semantic.scss +158 -0
- package/src/bh-tokens/components/_avatar.tokens.scss +64 -0
- package/src/bh-tokens/components/_badge-dot.tokens.scss +33 -0
- package/src/bh-tokens/components/_badge.tokens.scss +61 -0
- package/src/bh-tokens/components/_button-icon.tokens.scss +65 -0
- package/src/bh-tokens/components/_button.tokens.scss +185 -0
- package/src/bh-tokens/components/_checkbox.tokens.scss +67 -0
- package/src/bh-tokens/components/_dropdown.tokens.scss +103 -0
- package/src/bh-tokens/components/_featured-icon.tokens.scss +57 -0
- package/src/bh-tokens/components/_input-number.tokens.scss +50 -0
- package/src/bh-tokens/components/_input.tokens.scss +86 -0
- package/src/bh-tokens/components/_label.tokens.scss +37 -0
- package/src/bh-tokens/components/_modal.tokens.scss +42 -0
- package/src/bh-tokens/components/_pagination.tokens.scss +104 -0
- package/src/bh-tokens/components/_password.tokens.scss +63 -0
- package/src/bh-tokens/components/_progress-bar.tokens.scss +34 -0
- package/src/bh-tokens/components/_progress-spinner.tokens.scss +51 -0
- package/src/bh-tokens/components/_radiobutton.tokens.scss +90 -0
- package/src/bh-tokens/components/_skeleton.tokens.scss +22 -0
- package/src/bh-tokens/components/_textarea.tokens.scss +76 -0
- package/src/bh-tokens/components/_toggle.tokens.scss +74 -0
- package/src/bh-tokens/components/avatar.scss +288 -0
- package/src/bh-tokens/components/badge-dot.scss +177 -0
- package/src/bh-tokens/components/badge.scss +497 -0
- package/src/bh-tokens/components/button-icon.scss +227 -0
- package/src/bh-tokens/components/button.scss +640 -0
- package/src/bh-tokens/components/checkbox.scss +254 -0
- package/src/bh-tokens/components/dropdown.scss +231 -0
- package/src/bh-tokens/components/featured-icon.scss +219 -0
- package/src/bh-tokens/components/input-number.scss +147 -0
- package/src/bh-tokens/components/input.scss +271 -0
- package/src/bh-tokens/components/label.scss +176 -0
- package/src/bh-tokens/components/modal.scss +103 -0
- package/src/bh-tokens/components/pagination.scss +324 -0
- package/src/bh-tokens/components/password.scss +193 -0
- package/src/bh-tokens/components/progress-bar.scss +124 -0
- package/src/bh-tokens/components/progress-spinner.scss +130 -0
- package/src/bh-tokens/components/radiobutton.scss +193 -0
- package/src/bh-tokens/components/skeleton.scss +50 -0
- package/src/bh-tokens/components/textarea.scss +228 -0
- package/src/bh-tokens/components/toggle.scss +320 -0
- package/src/index.css +22 -0
- package/src/mixins/_responsive.scss +167 -0
- package/src/tokens/bellhop-animations.css +392 -0
- package/src/tokens/bellhop-global.css +175 -0
- package/src/tokens/bellhop-icons.css +77 -0
- package/src/tokens/bellhop-layout.css +216 -0
- package/src/tokens/bellhop-primary-colors.css +96 -0
- package/src/tokens/bellhop-radius.css +14 -0
- package/src/tokens/bellhop-secondary-colors.css +154 -0
- package/src/tokens/bellhop-shadows.css +55 -0
- package/src/tokens/bellhop-spacing.css +66 -0
- package/src/tokens/bellhop-styles.css +174 -0
- package/src/tokens/bellhop-typography.css +146 -0
- package/src/tokens/colors.json +737 -0
- package/src/tokens/colors.mdx +59 -0
- package/src/tokens/index.css +17 -0
- package/src/utilities/_breakpoints.scss +19 -0
- package/src/utilities/_flex.scss +228 -0
- package/src/utilities/_grid.scss +189 -0
- package/src/utilities/_index.scss +32 -0
- package/src/utilities/_scrollable.scss +239 -0
- package/src/utilities/_sizing.scss +229 -0
- package/src/utilities/_spacing.scss +187 -0
- package/src/utilities/_truncation.scss +126 -0
- package/src/utilities/_visibility.scss +117 -0
- package/src/utilities.scss +32 -0
- package/components/appbar.css +0 -167
- package/components/autocomplete-menu.css +0 -142
- package/components/avatar-add.css +0 -112
- package/components/avatar.css +0 -253
- package/components/badge-dot.css +0 -78
- package/components/badge.css +0 -337
- package/components/bar-chart-card.css +0 -261
- package/components/bar-chart.css +0 -149
- package/components/breadcrumbs.css +0 -136
- package/components/button.css +0 -266
- package/components/chart-tooltip.css +0 -96
- package/components/checkbox-label.css +0 -53
- package/components/checkbox.css +0 -127
- package/components/container-footer.css +0 -22
- package/components/container.css +0 -17
- package/components/date-picker-content.css +0 -337
- package/components/date-picker.css +0 -103
- package/components/date-range-picker-content.css +0 -85
- package/components/date-range-picker.css +0 -72
- package/components/dropdown-menu.css +0 -204
- package/components/dropdown.css +0 -126
- package/components/empty-state.css +0 -83
- package/components/featured-icon.css +0 -194
- package/components/illustrations.css +0 -120
- package/components/input-autocomplete.css +0 -158
- package/components/input-number.css +0 -2
- package/components/input-verification.css +0 -137
- package/components/input.css +0 -374
- package/components/loader-spinner.css +0 -421
- package/components/logo-box.css +0 -85
- package/components/month-picker-content.css +0 -190
- package/components/month-picker.css +0 -83
- package/components/nav-item.css +0 -110
- package/components/notification.css +0 -262
- package/components/page-navigation.css +0 -294
- package/components/picker-menu.css +0 -43
- package/components/pie-chart-card.css +0 -213
- package/components/pie-chart.css +0 -80
- package/components/product-switcher.css +0 -127
- package/components/property-switcher.css +0 -95
- package/components/radio-button-label.css +0 -53
- package/components/radio-button.css +0 -134
- package/components/sidebar.css +0 -178
- package/components/skeleton-loader.css +0 -47
- package/components/tag.css +0 -214
- package/components/textarea.css +0 -211
- package/components/toggle.css +0 -298
- package/components/tooltip.css +0 -85
- package/components/trend-chart-card.css +0 -189
- package/components/trend-chart.css +0 -94
- package/index.css +0 -8115
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
BELLHOPOS ANGULAR LIBRARY STYLES
|
|
3
|
+
Main entry point for all Bellhop design system styles
|
|
4
|
+
========================================================================== */
|
|
5
|
+
|
|
6
|
+
/* Import Google Fonts - Inter and Material Symbols */
|
|
7
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
|
|
8
|
+
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');
|
|
9
|
+
|
|
10
|
+
/* Import all Bellhop design system styles */
|
|
11
|
+
@import url('./bellhop-primary-colors.css');
|
|
12
|
+
@import url('./bellhop-secondary-colors.css');
|
|
13
|
+
@import url('./bellhop-spacing.css');
|
|
14
|
+
@import url('./bellhop-radius.css');
|
|
15
|
+
@import url('./bellhop-shadows.css');
|
|
16
|
+
@import url('./bellhop-typography.css');
|
|
17
|
+
@import url('./bellhop-icons.css');
|
|
18
|
+
@import url('./bellhop-layout.css');
|
|
19
|
+
|
|
20
|
+
/* ==========================================================================
|
|
21
|
+
GLOBAL RESETS AND DEFAULTS
|
|
22
|
+
========================================================================== */
|
|
23
|
+
|
|
24
|
+
/* Reset the outline for all focusable elements when a mouse is used. */
|
|
25
|
+
*:focus:not(:focus-visible) {
|
|
26
|
+
outline: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Apply a custom outline that will only appear during keyboard navigation. */
|
|
30
|
+
*:focus-visible {
|
|
31
|
+
outline: 2px solid var(--color-brand-500);
|
|
32
|
+
outline-offset: 2px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* Ensure focus is visible on interactive elements */
|
|
36
|
+
button:focus-visible,
|
|
37
|
+
input:focus-visible,
|
|
38
|
+
select:focus-visible,
|
|
39
|
+
textarea:focus-visible,
|
|
40
|
+
a:focus-visible,
|
|
41
|
+
[tabindex]:focus-visible {
|
|
42
|
+
outline: 2px solid var(--color-brand-500);
|
|
43
|
+
outline-offset: 2px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* ==========================================================================
|
|
47
|
+
UTILITY CLASSES
|
|
48
|
+
========================================================================== */
|
|
49
|
+
|
|
50
|
+
/* Prevent text selection */
|
|
51
|
+
.no-select {
|
|
52
|
+
user-select: none;
|
|
53
|
+
-webkit-user-select: none;
|
|
54
|
+
-moz-user-select: none;
|
|
55
|
+
-ms-user-select: none;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Screen reader only content */
|
|
59
|
+
.sr-only {
|
|
60
|
+
position: absolute;
|
|
61
|
+
width: 1px;
|
|
62
|
+
height: 1px;
|
|
63
|
+
padding: 0;
|
|
64
|
+
margin: -1px;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
clip: rect(0, 0, 0, 0);
|
|
67
|
+
white-space: nowrap;
|
|
68
|
+
border: 0;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* ==========================================================================
|
|
72
|
+
CONTENT LAYOUT UTILITIES
|
|
73
|
+
========================================================================== */
|
|
74
|
+
|
|
75
|
+
/* Content Container - Main flex container for page navigation and content area */
|
|
76
|
+
.bellhop-content-container {
|
|
77
|
+
display: flex;
|
|
78
|
+
flex: 1;
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
background-color: var(--color-white);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* Content Area - Scrollable main content region */
|
|
84
|
+
.bellhop-content-area {
|
|
85
|
+
flex: 1;
|
|
86
|
+
overflow-y: auto;
|
|
87
|
+
overflow-x: hidden;
|
|
88
|
+
background-color: var(--color-white);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Content Wrapper - Inner content container with padding and max-width */
|
|
92
|
+
.bellhop-content-wrapper {
|
|
93
|
+
padding: var(--spacing-4xl);
|
|
94
|
+
margin: 0 auto;
|
|
95
|
+
font-family: var(--font-inter);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Content Wrapper Variants */
|
|
99
|
+
.bellhop-content-wrapper-sm {
|
|
100
|
+
padding: var(--spacing-2xl);
|
|
101
|
+
margin: 0 auto;
|
|
102
|
+
font-family: var(--font-inter);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.bellhop-content-wrapper-lg {
|
|
106
|
+
padding: var(--spacing-5xl);
|
|
107
|
+
margin: 0 auto;
|
|
108
|
+
font-family: var(--font-inter);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.bellhop-content-wrapper-full {
|
|
112
|
+
padding: var(--spacing-4xl);
|
|
113
|
+
max-width: none;
|
|
114
|
+
margin: 0;
|
|
115
|
+
font-family: var(--font-inter);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* Content Typography - Standard content headings and text */
|
|
119
|
+
.bellhop-content-wrapper h1,
|
|
120
|
+
.bellhop-content-wrapper-sm h1,
|
|
121
|
+
.bellhop-content-wrapper-lg h1,
|
|
122
|
+
.bellhop-content-wrapper-full h1 {
|
|
123
|
+
font-size: var(--text-3xl-size);
|
|
124
|
+
font-weight: var(--weight-bold);
|
|
125
|
+
line-height: var(--text-3xl-line);
|
|
126
|
+
color: var(--color-neutral-800);
|
|
127
|
+
margin-bottom: var(--spacing-md);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.bellhop-content-wrapper p,
|
|
131
|
+
.bellhop-content-wrapper-sm p,
|
|
132
|
+
.bellhop-content-wrapper-lg p,
|
|
133
|
+
.bellhop-content-wrapper-full p {
|
|
134
|
+
font-size: var(--text-md-size);
|
|
135
|
+
font-weight: var(--weight-regular);
|
|
136
|
+
line-height: var(--text-md-line);
|
|
137
|
+
color: var(--color-neutral-600);
|
|
138
|
+
margin-bottom: var(--spacing-2xl);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/* Responsive adjustments for content wrappers */
|
|
142
|
+
@media (max-width: 768px) {
|
|
143
|
+
.bellhop-content-wrapper,
|
|
144
|
+
.bellhop-content-wrapper-sm,
|
|
145
|
+
.bellhop-content-wrapper-lg,
|
|
146
|
+
.bellhop-content-wrapper-full {
|
|
147
|
+
padding: var(--spacing-xl);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.bellhop-content-wrapper h1,
|
|
151
|
+
.bellhop-content-wrapper-sm h1,
|
|
152
|
+
.bellhop-content-wrapper-lg h1,
|
|
153
|
+
.bellhop-content-wrapper-full h1 {
|
|
154
|
+
font-size: var(--text-2xl-size);
|
|
155
|
+
line-height: var(--text-2xl-line);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
@media (max-width: 480px) {
|
|
160
|
+
.bellhop-content-wrapper,
|
|
161
|
+
.bellhop-content-wrapper-sm,
|
|
162
|
+
.bellhop-content-wrapper-lg,
|
|
163
|
+
.bellhop-content-wrapper-full {
|
|
164
|
+
padding: var(--spacing-md);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.bellhop-content-wrapper h1,
|
|
168
|
+
.bellhop-content-wrapper-sm h1,
|
|
169
|
+
.bellhop-content-wrapper-lg h1,
|
|
170
|
+
.bellhop-content-wrapper-full h1 {
|
|
171
|
+
font-size: var(--text-xl-size);
|
|
172
|
+
line-height: var(--text-xl-line);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
/* =========================
|
|
2
|
+
IMPORT FONT
|
|
3
|
+
========================= */
|
|
4
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
|
5
|
+
|
|
6
|
+
/* =========================
|
|
7
|
+
TYPOGRAPHY TOKENS
|
|
8
|
+
========================= */
|
|
9
|
+
:root {
|
|
10
|
+
/* Families */
|
|
11
|
+
--font-inter: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI',
|
|
12
|
+
Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji',
|
|
13
|
+
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
14
|
+
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
15
|
+
'Liberation Mono', 'Courier New', monospace;
|
|
16
|
+
|
|
17
|
+
/* Weights */
|
|
18
|
+
--weight-regular: 400;
|
|
19
|
+
--weight-medium: 500;
|
|
20
|
+
--weight-semibold: 600;
|
|
21
|
+
--weight-bold: 700;
|
|
22
|
+
|
|
23
|
+
/* Sizes (font-size) */
|
|
24
|
+
/* Display Sizes */
|
|
25
|
+
--display-xl-size: 2.625rem; /* 42px */
|
|
26
|
+
--display-lg-size: 2.5rem; /* 40px */
|
|
27
|
+
--display-md-size: 2.25rem; /* 36px */
|
|
28
|
+
--display-sm-size: 1.875rem; /* 30px */
|
|
29
|
+
--display-xs-size: 1.5rem; /* 24px */
|
|
30
|
+
/* Text Sizes */
|
|
31
|
+
--text-xl-size: 1.25rem; /* 20px */
|
|
32
|
+
--text-lg-size: 1.125rem; /* 18px */
|
|
33
|
+
--text-md-size: 1rem; /* 16px */
|
|
34
|
+
--text-sm-size: 0.875rem; /* 14px */
|
|
35
|
+
--text-xs-size: 0.75rem; /* 12px */
|
|
36
|
+
|
|
37
|
+
/* Line heights */
|
|
38
|
+
--text-xl-line: 1.875rem; /* 30px */
|
|
39
|
+
--text-lg-line: 1.75rem; /* 28px */
|
|
40
|
+
--text-md-line: 1.5rem; /* 24px */
|
|
41
|
+
--text-sm-line: 1.25rem; /* 20px */
|
|
42
|
+
--text-xs-line: 1.125rem; /* 18px */
|
|
43
|
+
|
|
44
|
+
/* Numbers (data tables) — use tabular figures */
|
|
45
|
+
--num-sm-size: var(--text-sm-size); /* 14px */
|
|
46
|
+
--num-sm-line: var(--text-sm-line); /* 20px */
|
|
47
|
+
--num-xs-size: var(--text-xs-size); /* 12px */
|
|
48
|
+
--num-xs-line: var(--text-xs-line); /* 18px */
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* =========================
|
|
52
|
+
BASE / WEIGHT UTILITIES
|
|
53
|
+
========================= */
|
|
54
|
+
.font-inter {
|
|
55
|
+
font-family: var(--font-inter);
|
|
56
|
+
}
|
|
57
|
+
.font-mono {
|
|
58
|
+
font-family: var(--font-mono);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.weight-regular {
|
|
62
|
+
font-weight: var(--weight-regular);
|
|
63
|
+
}
|
|
64
|
+
.weight-medium {
|
|
65
|
+
font-weight: var(--weight-medium);
|
|
66
|
+
}
|
|
67
|
+
.weight-semibold {
|
|
68
|
+
font-weight: var(--weight-semibold);
|
|
69
|
+
}
|
|
70
|
+
.weight-bold {
|
|
71
|
+
font-weight: var(--weight-bold);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* =========================
|
|
75
|
+
SIZE UTILITIES
|
|
76
|
+
========================= */
|
|
77
|
+
.text-xl {
|
|
78
|
+
font-size: var(--text-xl-size);
|
|
79
|
+
line-height: var(--text-xl-line);
|
|
80
|
+
}
|
|
81
|
+
.text-lg {
|
|
82
|
+
font-size: var(--text-lg-size);
|
|
83
|
+
line-height: var(--text-lg-line);
|
|
84
|
+
}
|
|
85
|
+
.text-md {
|
|
86
|
+
font-size: var(--text-md-size);
|
|
87
|
+
line-height: var(--text-md-line);
|
|
88
|
+
}
|
|
89
|
+
.text-sm {
|
|
90
|
+
font-size: var(--text-sm-size);
|
|
91
|
+
line-height: var(--text-sm-line);
|
|
92
|
+
}
|
|
93
|
+
.text-xs {
|
|
94
|
+
font-size: var(--text-xs-size);
|
|
95
|
+
line-height: var(--text-xs-line);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* =========================
|
|
99
|
+
NUMERIC (DATA TABLES)
|
|
100
|
+
========================= */
|
|
101
|
+
.num-sm {
|
|
102
|
+
font-size: var(--num-sm-size);
|
|
103
|
+
line-height: var(--num-sm-line);
|
|
104
|
+
font-variant-numeric: tabular-nums;
|
|
105
|
+
font-family: var(--font-inter);
|
|
106
|
+
}
|
|
107
|
+
.num-xs {
|
|
108
|
+
font-size: var(--num-xs-size);
|
|
109
|
+
line-height: var(--num-xs-line);
|
|
110
|
+
font-variant-numeric: tabular-nums;
|
|
111
|
+
font-family: var(--font-mono);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* =========================
|
|
115
|
+
TEXT COLOR UTILITIES
|
|
116
|
+
========================= */
|
|
117
|
+
.text-primary {
|
|
118
|
+
color: var(--bh-text-primary);
|
|
119
|
+
}
|
|
120
|
+
.text-secondary {
|
|
121
|
+
color: var(--bh-text-secondary);
|
|
122
|
+
}
|
|
123
|
+
.text-tertiary {
|
|
124
|
+
color: var(--bh-text-tertiary);
|
|
125
|
+
}
|
|
126
|
+
.text-brand {
|
|
127
|
+
color: var(--bh-text-brand);
|
|
128
|
+
}
|
|
129
|
+
.text-disabled {
|
|
130
|
+
color: var(--bh-text-disabled);
|
|
131
|
+
}
|
|
132
|
+
.text-inverse {
|
|
133
|
+
color: var(--bh-text-inverse);
|
|
134
|
+
}
|
|
135
|
+
.text-error {
|
|
136
|
+
color: var(--bh-text-error);
|
|
137
|
+
}
|
|
138
|
+
.text-warning {
|
|
139
|
+
color: var(--bh-text-warning);
|
|
140
|
+
}
|
|
141
|
+
.text-success {
|
|
142
|
+
color: var(--bh-text-success);
|
|
143
|
+
}
|
|
144
|
+
.text-highlight {
|
|
145
|
+
color: var(--bh-text-highlight);
|
|
146
|
+
}
|