@instincthub/react-ui 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/index8.js +2 -0
- package/dist/_virtual/index8.js.map +1 -0
- package/dist/_virtual/react-is.development3.js +2 -0
- package/dist/_virtual/react-is.development3.js.map +1 -0
- package/dist/_virtual/react-is.production.min2.js +2 -0
- package/dist/_virtual/react-is.production.min2.js.map +1 -0
- package/dist/_virtual/stylis.js +2 -0
- package/dist/_virtual/stylis.js.map +1 -0
- package/dist/assets/css/bootstrap.css +315 -0
- package/dist/assets/css/darkmode.css +57 -0
- package/dist/assets/css/fonts.css +1 -0
- package/dist/assets/css/forms/input-fields.css +77 -0
- package/dist/assets/css/forms/react-action.css +46 -0
- package/dist/assets/css/forms/submit-btn.css +39 -0
- package/dist/assets/css/forms.css +145 -0
- package/dist/assets/css/invoice.css +196 -0
- package/dist/assets/css/loading.css +57 -0
- package/dist/assets/css/main.css +2357 -0
- package/dist/assets/css/material-ui.css +82 -0
- package/dist/assets/css/modals.css +208 -0
- package/dist/assets/css/primereact.css +367 -0
- package/dist/assets/css/react-video-player.css +81 -0
- package/dist/assets/css/readme/overflow.md +93 -0
- package/dist/assets/css/readme/width-height-padding.md +342 -0
- package/dist/assets/css/readme/z-index.md +80 -0
- package/dist/assets/css/root.css +70 -0
- package/dist/assets/css/styles.css +23 -0
- package/dist/assets/css/tag-only-selectors.css +240 -0
- package/dist/assets/css/tooltip.css +26 -0
- package/dist/assets/css/ui/code-display.css +132 -0
- package/dist/assets/css/ui/content-viewer.css +599 -0
- package/dist/assets/css/ui/editor.css +161 -0
- package/dist/assets/css/ui/list-styles.css +318 -0
- package/dist/assets/css/ui/parent-list-styles.css +223 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.esm.js +2 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.esm.js.map +1 -0
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +2 -0
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js.map +1 -0
- package/dist/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +2 -0
- package/dist/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js.map +1 -0
- package/dist/node_modules/@emotion/react/dist/emotion-react.esm.js +2 -0
- package/dist/node_modules/@emotion/react/dist/emotion-react.esm.js.map +1 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +2 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +1 -0
- package/dist/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js +2 -0
- package/dist/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js.map +1 -0
- package/dist/node_modules/@emotion/styled/dist/emotion-styled.esm.js +2 -0
- package/dist/node_modules/@emotion/styled/dist/emotion-styled.esm.js.map +1 -0
- package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +2 -0
- package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js.map +1 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.esm.js +2 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.esm.js.map +1 -0
- package/dist/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +2 -0
- package/dist/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/createThemeWithVars.js +1 -1
- package/dist/node_modules/@mui/material/styles/createThemeWithVars.js.map +1 -1
- package/dist/node_modules/@mui/material/utils/memoTheme.js +1 -1
- package/dist/node_modules/@mui/material/utils/memoTheme.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/index.js +2 -2
- package/dist/node_modules/@mui/system/esm/Box/Box.js +2 -0
- package/dist/node_modules/@mui/system/esm/Box/Box.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Box/boxClasses.js +2 -0
- package/dist/node_modules/@mui/system/esm/Box/boxClasses.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Container/Container.js +2 -0
- package/dist/node_modules/@mui/system/esm/Container/Container.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Container/containerClasses.js +2 -0
- package/dist/node_modules/@mui/system/esm/Container/containerClasses.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Container/createContainer.js +2 -0
- package/dist/node_modules/@mui/system/esm/Container/createContainer.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +2 -0
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Grid/Grid.js +2 -0
- package/dist/node_modules/@mui/system/esm/Grid/Grid.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Grid/createGrid.js +2 -0
- package/dist/node_modules/@mui/system/esm/Grid/createGrid.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js +2 -0
- package/dist/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Grid/gridClasses.js +2 -0
- package/dist/node_modules/@mui/system/esm/Grid/gridClasses.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Grid/gridGenerator.js +2 -0
- package/dist/node_modules/@mui/system/esm/Grid/gridGenerator.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Grid/traverseBreakpoints.js +2 -0
- package/dist/node_modules/@mui/system/esm/Grid/traverseBreakpoints.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Stack/Stack.js +2 -0
- package/dist/node_modules/@mui/system/esm/Stack/Stack.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Stack/createStack.js +2 -0
- package/dist/node_modules/@mui/system/esm/Stack/createStack.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Stack/stackClasses.js +2 -0
- package/dist/node_modules/@mui/system/esm/Stack/stackClasses.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/node_modules/@mui/system/esm/borders/borders.js +1 -1
- package/dist/node_modules/@mui/system/esm/borders/borders.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/breakpoints/breakpoints.js +1 -1
- package/dist/node_modules/@mui/system/esm/breakpoints/breakpoints.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/createBox/createBox.js +2 -0
- package/dist/node_modules/@mui/system/esm/createBox/createBox.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/cssGrid/cssGrid.js +1 -1
- package/dist/node_modules/@mui/system/esm/cssGrid/cssGrid.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/cssVars/createGetCssVar.js +2 -0
- package/dist/node_modules/@mui/system/esm/cssVars/createGetCssVar.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/display/display.js +2 -0
- package/dist/node_modules/@mui/system/esm/display/display.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/flexbox/flexbox.js +2 -0
- package/dist/node_modules/@mui/system/esm/flexbox/flexbox.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/getThemeValue/getThemeValue.js +2 -0
- package/dist/node_modules/@mui/system/esm/getThemeValue/getThemeValue.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/memoTheme.js +2 -0
- package/dist/node_modules/@mui/system/esm/memoTheme.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/palette/palette.js +1 -1
- package/dist/node_modules/@mui/system/esm/palette/palette.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/positions/positions.js +2 -0
- package/dist/node_modules/@mui/system/esm/positions/positions.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/shadows/shadows.js +2 -0
- package/dist/node_modules/@mui/system/esm/shadows/shadows.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/sizing/sizing.js +1 -1
- package/dist/node_modules/@mui/system/esm/sizing/sizing.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/spacing/spacing.js +1 -1
- package/dist/node_modules/@mui/system/esm/spacing/spacing.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js +2 -0
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/styled/styled.js +2 -0
- package/dist/node_modules/@mui/system/esm/styled/styled.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/typography/typography.js +2 -0
- package/dist/node_modules/@mui/system/esm/typography/typography.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/useTheme/useTheme.js +2 -0
- package/dist/node_modules/@mui/system/esm/useTheme/useTheme.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js +2 -0
- package/dist/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/useThemeProps/useThemeProps.js +2 -0
- package/dist/node_modules/@mui/system/esm/useThemeProps/useThemeProps.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js +1 -1
- package/dist/node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js +2 -0
- package/dist/node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js.map +1 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +2 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +1 -0
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +10 -0
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +10 -0
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +2 -0
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/stylis/dist/umd/stylis.js +2 -0
- package/dist/node_modules/stylis/dist/umd/stylis.js.map +1 -0
- package/dist/src/components/forms/AnimatedBox.js.map +1 -1
- package/dist/src/components/forms/SubmitBtn.js.map +1 -1
- package/dist/src/components/ui/viewer/CodeDisplay.js +1 -1
- package/dist/src/styles.js.map +1 -1
- package/dist/src/types/components/forms/CountryInput.d.ts +0 -1
- package/dist/src/types/components/forms/CountryStateInput.d.ts +0 -1
- package/dist/src/types/components/ui/viewer/CodeDisplay.d.ts +1 -1
- package/dist/src/types/styles.d.ts +1 -13
- package/dist/styles.css +1 -1
- package/package.json +6 -4
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
.ihub-editor {
|
|
2
|
+
border: var(--borderDefault);
|
|
3
|
+
border-radius: 0.375rem;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.ihub-editor-menu {
|
|
8
|
+
display: flex;
|
|
9
|
+
gap: 5px;
|
|
10
|
+
padding: 0.5rem;
|
|
11
|
+
border-bottom: var(--borderDefault);
|
|
12
|
+
overflow-x: scroll;
|
|
13
|
+
/* Hide scrollbar for IE, Edge and Firefox */
|
|
14
|
+
-ms-overflow-style: none; /* IE and Edge */
|
|
15
|
+
scrollbar-width: none; /* Firefox */
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
19
|
+
.ihub-editor-menu::-webkit-scrollbar {
|
|
20
|
+
display: none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.ihub-editor-btn {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
width: 2rem;
|
|
28
|
+
height: 2rem;
|
|
29
|
+
margin: 0.125rem;
|
|
30
|
+
padding: 0;
|
|
31
|
+
background: transparent;
|
|
32
|
+
border: none;
|
|
33
|
+
border-radius: 0.25rem;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
color: var(--Gunmetal);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ihub-editor-btn:hover {
|
|
39
|
+
background-color: var(--opacityBackground);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ihub-editor-btn.is-active {
|
|
43
|
+
background-color: var(--opacityBackground);
|
|
44
|
+
color: var(--DarkCyan);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.ihub-editor-divider {
|
|
48
|
+
width: 1px;
|
|
49
|
+
height: 1.5rem;
|
|
50
|
+
margin: 0 0.5rem;
|
|
51
|
+
background-color: var(--opacityBackground);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.ihub-editor-content-wrapper {
|
|
55
|
+
min-height: 200px;
|
|
56
|
+
padding: 1rem;
|
|
57
|
+
}
|
|
58
|
+
.ihub-editor-content {
|
|
59
|
+
min-height: 190px;
|
|
60
|
+
border: none;
|
|
61
|
+
max-height: 70vh;
|
|
62
|
+
overflow-y: scroll;
|
|
63
|
+
}
|
|
64
|
+
.ihub-editor-content:focus-visible {
|
|
65
|
+
outline: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.ihub-editor-content-wrapper p.is-editor-empty:first-child::before {
|
|
69
|
+
color: #adb5bd;
|
|
70
|
+
content: attr(data-placeholder);
|
|
71
|
+
float: left;
|
|
72
|
+
height: 0;
|
|
73
|
+
pointer-events: none;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.ihub-editor-char-count {
|
|
77
|
+
padding: 0.5rem;
|
|
78
|
+
border-top: var(--borderDefault);
|
|
79
|
+
display: flex;
|
|
80
|
+
justify-content: space-between;
|
|
81
|
+
}
|
|
82
|
+
.ihub-editor-char-count p {
|
|
83
|
+
font-size: 0.75rem;
|
|
84
|
+
color: #6c757d;
|
|
85
|
+
margin: 0px;
|
|
86
|
+
}
|
|
87
|
+
.ihub-editor-char-count p:empty {
|
|
88
|
+
width: 10px;
|
|
89
|
+
height: 5px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Table styling */
|
|
93
|
+
.ihub-editor .ProseMirror table {
|
|
94
|
+
border-collapse: collapse;
|
|
95
|
+
table-layout: fixed;
|
|
96
|
+
width: 100%;
|
|
97
|
+
margin: 1rem 0;
|
|
98
|
+
overflow: hidden;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.ihub-editor .ProseMirror td,
|
|
102
|
+
.ihub-editor .ProseMirror th {
|
|
103
|
+
border: var(--borderDefault);
|
|
104
|
+
padding: 0.5rem;
|
|
105
|
+
position: relative;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.ihub-editor .ProseMirror th {
|
|
109
|
+
background-color: #f8f9fa;
|
|
110
|
+
font-weight: bold;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* Code block styling */
|
|
114
|
+
.ihub-editor .ProseMirror pre {
|
|
115
|
+
background-color: #f8f9fa;
|
|
116
|
+
padding: 0.75rem;
|
|
117
|
+
border-radius: 0.25rem;
|
|
118
|
+
overflow-x: auto;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* Blockquote styling */
|
|
122
|
+
.ihub-editor .ProseMirror blockquote {
|
|
123
|
+
border-left: 3px solid #e2e8f0;
|
|
124
|
+
padding-left: 1rem;
|
|
125
|
+
margin-left: 0;
|
|
126
|
+
color: #6c757d;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Task list styling */
|
|
130
|
+
.ihub-editor .ProseMirror ul[data-type="taskList"] {
|
|
131
|
+
list-style-type: none;
|
|
132
|
+
padding: 0;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.ihub-editor .ProseMirror ul[data-type="taskList"] li {
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: flex-start;
|
|
138
|
+
margin-bottom: 0.5rem;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.ihub-editor .ProseMirror ul[data-type="taskList"] li > label {
|
|
142
|
+
margin-right: 0.5rem;
|
|
143
|
+
user-select: none;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.ihub-editor .ProseMirror ul[data-type="taskList"] li > div {
|
|
147
|
+
flex: 1;
|
|
148
|
+
}
|
|
149
|
+
.ihub-editor .ProseMirror ul[data-type="taskList"] li > div p {
|
|
150
|
+
margin: 0px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
@media (max-width: 767px) {
|
|
154
|
+
.ihub-editor-char-count {
|
|
155
|
+
display: block;
|
|
156
|
+
}
|
|
157
|
+
.ihub-editor-char-count p {
|
|
158
|
+
display: inline-block;
|
|
159
|
+
margin-right: 1rem;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
/* styles/list-styles.css */
|
|
2
|
+
|
|
3
|
+
/* Standard Unordered List */
|
|
4
|
+
.ihub-content-viewer ul.ihub-list-standard {
|
|
5
|
+
list-style: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.ihub-content-viewer ul.ihub-list-standard li {
|
|
9
|
+
position: relative;
|
|
10
|
+
padding-left: 1.75rem;
|
|
11
|
+
margin-bottom: 0.75rem;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ihub-content-viewer ul.ihub-list-standard li::before {
|
|
15
|
+
content: "+";
|
|
16
|
+
position: absolute;
|
|
17
|
+
left: 0;
|
|
18
|
+
width: 24px;
|
|
19
|
+
height: 24px;
|
|
20
|
+
color: var(--Gunmetal);
|
|
21
|
+
display: inline-block;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Circle style for nested lists */
|
|
25
|
+
.ihub-content-viewer ul.ihub-list-circle {
|
|
26
|
+
list-style: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ihub-content-viewer ul.ihub-list-circle li {
|
|
30
|
+
position: relative;
|
|
31
|
+
padding-left: 1.75rem;
|
|
32
|
+
margin-bottom: 0.75rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.ihub-content-viewer ul.ihub-list-circle li::before {
|
|
36
|
+
content: "";
|
|
37
|
+
position: absolute;
|
|
38
|
+
left: 0.25rem;
|
|
39
|
+
top: 1px;
|
|
40
|
+
width: 8px;
|
|
41
|
+
height: 8px;
|
|
42
|
+
border-radius: 50%;
|
|
43
|
+
background-color: var(--DarkCyan);
|
|
44
|
+
color: var(--white) !important;
|
|
45
|
+
display: flex !important;
|
|
46
|
+
justify-content: space-around;
|
|
47
|
+
align-items: center;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Square style for deeply nested lists */
|
|
51
|
+
.ihub-content-viewer ul.ihub-list-square {
|
|
52
|
+
list-style: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ihub-content-viewer ul.ihub-list-square li {
|
|
56
|
+
position: relative;
|
|
57
|
+
padding-left: 1.75rem;
|
|
58
|
+
margin-bottom: 0.75rem;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ihub-content-viewer ul.ihub-list-square li::before {
|
|
62
|
+
content: "";
|
|
63
|
+
position: absolute;
|
|
64
|
+
left: 0.25rem;
|
|
65
|
+
/* top: 4px; */
|
|
66
|
+
width: 8px;
|
|
67
|
+
height: 8px;
|
|
68
|
+
background-color: var(--TurkishRose);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* Primary Ordered List */
|
|
72
|
+
.ihub-content-viewer ol.ihub-list-primary {
|
|
73
|
+
list-style: none;
|
|
74
|
+
counter-reset: item;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ihub-content-viewer ol.ihub-list-primary li {
|
|
78
|
+
counter-increment: item;
|
|
79
|
+
position: relative;
|
|
80
|
+
padding-left: 2rem;
|
|
81
|
+
margin-bottom: 0.75rem;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.ihub-content-viewer ol.ihub-list-primary li::before {
|
|
85
|
+
content: counter(item);
|
|
86
|
+
position: absolute;
|
|
87
|
+
left: 0;
|
|
88
|
+
width: 25px;
|
|
89
|
+
height: 25px;
|
|
90
|
+
background: var(--DarkCyan);
|
|
91
|
+
border-radius: 100%;
|
|
92
|
+
color: var(--White);
|
|
93
|
+
font-weight: 700;
|
|
94
|
+
text-align: center;
|
|
95
|
+
line-height: 25px;
|
|
96
|
+
font-size: 0.875rem;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/* Secondary Ordered List */
|
|
100
|
+
.ihub-content-viewer ol.ihub-list-secondary li::before {
|
|
101
|
+
background-color: var(--TurkishRose);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* Tertiary Ordered List */
|
|
105
|
+
.ihub-content-viewer ol.ihub-list-tertiary li::before {
|
|
106
|
+
background-color: var(--ViridianGreen);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* Base List Styling */
|
|
110
|
+
.ihub-content-viewer ul,
|
|
111
|
+
.ihub-content-viewer ol {
|
|
112
|
+
margin: 1.5rem 0;
|
|
113
|
+
padding-left: 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Standard Unordered List */
|
|
117
|
+
.ihub-content-viewer ul:not([data-type="taskList"]) {
|
|
118
|
+
list-style: none;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.ihub-content-viewer ul:not([data-type="taskList"]) li {
|
|
122
|
+
position: relative;
|
|
123
|
+
padding-left: 1.75rem;
|
|
124
|
+
margin-bottom: 0.75rem;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.ihub-content-viewer ul:not([data-type="taskList"]) li::before {
|
|
128
|
+
content: "+";
|
|
129
|
+
position: absolute;
|
|
130
|
+
left: 0;
|
|
131
|
+
width: 24px;
|
|
132
|
+
height: 24px;
|
|
133
|
+
color: var(--Gunmetal);
|
|
134
|
+
display: inline-block;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* Custom Bullet List - checkmark style */
|
|
138
|
+
.ihub-content-viewer ul.checkmark {
|
|
139
|
+
list-style: none;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.ihub-content-viewer ul.checkmark li {
|
|
143
|
+
position: relative;
|
|
144
|
+
padding-left: 1.75rem;
|
|
145
|
+
margin-bottom: 0.75rem;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.ihub-content-viewer ul.checkmark li::before {
|
|
149
|
+
content: "\2713"; /* Unicode checkmark */
|
|
150
|
+
position: absolute;
|
|
151
|
+
left: 0;
|
|
152
|
+
font-weight: bold;
|
|
153
|
+
color: var(--DarkCyan);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* Custom Bullet List - circle style */
|
|
157
|
+
.ihub-content-viewer ul.circle {
|
|
158
|
+
list-style: none;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.ihub-content-viewer ul.circle li {
|
|
162
|
+
position: relative;
|
|
163
|
+
padding-left: 1.75rem;
|
|
164
|
+
margin-bottom: 0.75rem;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.ihub-content-viewer ul.circle li::before {
|
|
168
|
+
content: "";
|
|
169
|
+
position: absolute;
|
|
170
|
+
left: 0.25rem;
|
|
171
|
+
top: 0.5rem;
|
|
172
|
+
width: 8px;
|
|
173
|
+
height: 8px;
|
|
174
|
+
border-radius: 50%;
|
|
175
|
+
background-color: var(--DarkCyan);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* Custom Bullet List - arrow style */
|
|
179
|
+
.ihub-content-viewer ul.arrow {
|
|
180
|
+
list-style: none;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.ihub-content-viewer ul.arrow li {
|
|
184
|
+
position: relative;
|
|
185
|
+
padding-left: 1.75rem;
|
|
186
|
+
margin-bottom: 0.75rem;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.ihub-content-viewer ul.arrow li::before {
|
|
190
|
+
content: "\2192"; /* Unicode right arrow */
|
|
191
|
+
position: absolute;
|
|
192
|
+
left: 0;
|
|
193
|
+
color: var(--DarkCyan);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/* Custom Bullet List - square style */
|
|
197
|
+
.ihub-content-viewer ul.square {
|
|
198
|
+
list-style: none;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.ihub-content-viewer ul.square li {
|
|
202
|
+
position: relative;
|
|
203
|
+
padding-left: 1.75rem;
|
|
204
|
+
margin-bottom: 0.75rem;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.ihub-content-viewer ul.square li::before {
|
|
208
|
+
content: "";
|
|
209
|
+
position: absolute;
|
|
210
|
+
left: 0.25rem;
|
|
211
|
+
top: 0.5rem;
|
|
212
|
+
width: 8px;
|
|
213
|
+
height: 8px;
|
|
214
|
+
background-color: var(--TurkishRose);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/* Styled Ordered List */
|
|
218
|
+
.ihub-content-viewer ol {
|
|
219
|
+
list-style: none;
|
|
220
|
+
counter-reset: item;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.ihub-content-viewer ol li {
|
|
224
|
+
counter-increment: item;
|
|
225
|
+
position: relative;
|
|
226
|
+
padding-left: 2rem;
|
|
227
|
+
margin-bottom: 0.75rem;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.ihub-content-viewer ol li::before {
|
|
231
|
+
content: counter(item);
|
|
232
|
+
position: absolute;
|
|
233
|
+
left: 0;
|
|
234
|
+
width: 25px;
|
|
235
|
+
height: 25px;
|
|
236
|
+
background: var(--Gunmetal);
|
|
237
|
+
border-radius: 100%;
|
|
238
|
+
color: var(--White);
|
|
239
|
+
font-weight: 700;
|
|
240
|
+
text-align: center;
|
|
241
|
+
line-height: 25px;
|
|
242
|
+
font-size: 0.875rem;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/* Colored Ordered List Options */
|
|
246
|
+
.ihub-content-viewer ol.primary li::before {
|
|
247
|
+
background-color: var(--DarkCyan);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.ihub-content-viewer ol.secondary li::before {
|
|
251
|
+
background-color: var(--TurkishRose);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.ihub-content-viewer ol.tertiary li::before {
|
|
255
|
+
background-color: var(--ViridianGreen);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/* Nested Lists */
|
|
259
|
+
.ihub-content-viewer ul li ul,
|
|
260
|
+
.ihub-content-viewer ol li ul,
|
|
261
|
+
.ihub-content-viewer ol li ol,
|
|
262
|
+
.ihub-content-viewer ul li ol {
|
|
263
|
+
margin: 0.5rem 0 0.5rem 0.5rem;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/* Styled List Variant with Background */
|
|
267
|
+
.ihub-content-viewer .custom-ul-list ul,
|
|
268
|
+
.ihub-content-viewer .custom-ul-list ol {
|
|
269
|
+
padding: 15px;
|
|
270
|
+
background-color: var(--OpacityBackground);
|
|
271
|
+
display: inline-block;
|
|
272
|
+
border-radius: 5px;
|
|
273
|
+
margin: 15px 0px;
|
|
274
|
+
width: 100%;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/* Task Lists - Additional Styling */
|
|
278
|
+
.ihub-content-viewer ul[data-type="taskList"] {
|
|
279
|
+
background-color: transparent;
|
|
280
|
+
padding: 0;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.ihub-content-viewer ul[data-type="taskList"] li {
|
|
284
|
+
display: flex;
|
|
285
|
+
align-items: flex-start;
|
|
286
|
+
margin-bottom: 0.5rem;
|
|
287
|
+
padding-left: 0;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.ihub-content-viewer ul[data-type="taskList"] li[data-checked="true"] {
|
|
291
|
+
text-decoration: line-through;
|
|
292
|
+
color: var(--ChineseSilver);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
/* Two-column list for desktop */
|
|
296
|
+
@media (min-width: 768px) {
|
|
297
|
+
.ihub-content-viewer ul.two-column,
|
|
298
|
+
.ihub-content-viewer ol.two-column {
|
|
299
|
+
display: flex;
|
|
300
|
+
flex-wrap: wrap;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.ihub-content-viewer ul.two-column li,
|
|
304
|
+
.ihub-content-viewer ol.two-column li {
|
|
305
|
+
width: 50%;
|
|
306
|
+
box-sizing: border-box;
|
|
307
|
+
padding-right: 1rem;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/* Print styles */
|
|
312
|
+
@media print {
|
|
313
|
+
.ihub-content-viewer ul li::before,
|
|
314
|
+
.ihub-content-viewer ol li::before {
|
|
315
|
+
-webkit-print-color-adjust: exact;
|
|
316
|
+
print-color-adjust: exact;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
/* styles/parent-list-styles.css */
|
|
2
|
+
|
|
3
|
+
/* Default list style when parent has .ihub-style-list class */
|
|
4
|
+
.ihub-style-list ul {
|
|
5
|
+
list-style: none;
|
|
6
|
+
margin: 1.5rem 0;
|
|
7
|
+
padding-left: 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ihub-style-list ul li {
|
|
11
|
+
position: relative;
|
|
12
|
+
padding-left: 1.75rem;
|
|
13
|
+
margin-bottom: 0.75rem;
|
|
14
|
+
font-family: var(--Nunito);
|
|
15
|
+
font-weight: 400;
|
|
16
|
+
color: var(--Gunmetal);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ihub-style-list ul li::before {
|
|
20
|
+
content: "+";
|
|
21
|
+
position: absolute;
|
|
22
|
+
left: 0;
|
|
23
|
+
width: 24px;
|
|
24
|
+
height: 24px;
|
|
25
|
+
color: var(--Gunmetal);
|
|
26
|
+
display: inline-block;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Styled ordered lists */
|
|
30
|
+
.ihub-style-list ol {
|
|
31
|
+
list-style: none;
|
|
32
|
+
counter-reset: item;
|
|
33
|
+
margin: 1.5rem 0;
|
|
34
|
+
padding-left: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ihub-style-list ol li {
|
|
38
|
+
counter-increment: item;
|
|
39
|
+
position: relative;
|
|
40
|
+
padding-left: 2rem;
|
|
41
|
+
margin-bottom: 0.75rem;
|
|
42
|
+
font-family: var(--Nunito);
|
|
43
|
+
font-size: 1rem;
|
|
44
|
+
font-weight: 400;
|
|
45
|
+
line-height: 28px;
|
|
46
|
+
color: var(--Gunmetal);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.ihub-style-list ol li::before {
|
|
50
|
+
content: counter(item);
|
|
51
|
+
position: absolute;
|
|
52
|
+
left: 0;
|
|
53
|
+
width: 25px;
|
|
54
|
+
height: 25px;
|
|
55
|
+
background: var(--Gunmetal);
|
|
56
|
+
border-radius: 100%;
|
|
57
|
+
color: var(--White);
|
|
58
|
+
font-weight: 700;
|
|
59
|
+
text-align: center;
|
|
60
|
+
line-height: 25px;
|
|
61
|
+
font-size: 0.875rem;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* Nested list styles */
|
|
65
|
+
.ihub-style-list ul ul li::before {
|
|
66
|
+
content: "";
|
|
67
|
+
position: absolute;
|
|
68
|
+
left: 0.25rem;
|
|
69
|
+
top: 0.5rem;
|
|
70
|
+
width: 8px;
|
|
71
|
+
height: 8px;
|
|
72
|
+
border-radius: 50%;
|
|
73
|
+
background-color: var(--DarkCyan);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.ihub-style-list ul ul ul li::before {
|
|
77
|
+
content: "";
|
|
78
|
+
width: 8px;
|
|
79
|
+
height: 8px;
|
|
80
|
+
border-radius: 0;
|
|
81
|
+
background-color: var(--TurkishRose);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.ihub-style-list ol ol li::before {
|
|
85
|
+
background-color: var(--TurkishRose);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.ihub-style-list ol ol ol li::before {
|
|
89
|
+
background-color: var(--ViridianGreen);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Mixed nesting */
|
|
93
|
+
.ihub-style-list ul ol li::before {
|
|
94
|
+
content: counter(item);
|
|
95
|
+
width: 25px;
|
|
96
|
+
height: 25px;
|
|
97
|
+
background-color: var(--DarkCyan);
|
|
98
|
+
border-radius: 100%;
|
|
99
|
+
color: var(--White);
|
|
100
|
+
font-weight: 700;
|
|
101
|
+
text-align: center;
|
|
102
|
+
line-height: 25px;
|
|
103
|
+
font-size: 0.875rem;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.ihub-style-list ol ul li::before {
|
|
107
|
+
content: "";
|
|
108
|
+
position: absolute;
|
|
109
|
+
left: 0.25rem;
|
|
110
|
+
top: 0.5rem;
|
|
111
|
+
width: 8px;
|
|
112
|
+
height: 8px;
|
|
113
|
+
border-radius: 50%;
|
|
114
|
+
background-color: var(--DarkCyan);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* Style variants through additional classes */
|
|
118
|
+
|
|
119
|
+
/* Checkmark list style */
|
|
120
|
+
.ihub-style-list.checkmark ul li::before {
|
|
121
|
+
content: "\2713"; /* Unicode checkmark */
|
|
122
|
+
color: var(--DarkCyan);
|
|
123
|
+
font-weight: bold;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* Circle list style */
|
|
127
|
+
.ihub-style-list.circle ul li::before {
|
|
128
|
+
content: "";
|
|
129
|
+
position: absolute;
|
|
130
|
+
left: 0.25rem;
|
|
131
|
+
top: 0.5rem;
|
|
132
|
+
width: 8px;
|
|
133
|
+
height: 8px;
|
|
134
|
+
border-radius: 50%;
|
|
135
|
+
background-color: var(--DarkCyan);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/* Arrow list style */
|
|
139
|
+
.ihub-style-list.arrow ul li::before {
|
|
140
|
+
content: "\2192"; /* Unicode right arrow */
|
|
141
|
+
color: var(--DarkCyan);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/* Square list style */
|
|
145
|
+
.ihub-style-list.square ul li::before {
|
|
146
|
+
content: "";
|
|
147
|
+
position: absolute;
|
|
148
|
+
left: 0.25rem;
|
|
149
|
+
top: 0.5rem;
|
|
150
|
+
width: 8px;
|
|
151
|
+
height: 8px;
|
|
152
|
+
background-color: var(--TurkishRose);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* Primary color ordered list */
|
|
156
|
+
.ihub-style-list.primary ol li::before {
|
|
157
|
+
background-color: var(--DarkCyan);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* Secondary color ordered list */
|
|
161
|
+
.ihub-style-list.secondary ol li::before {
|
|
162
|
+
background-color: var(--TurkishRose);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* Tertiary color ordered list */
|
|
166
|
+
.ihub-style-list.tertiary ol li::before {
|
|
167
|
+
background-color: var(--ViridianGreen);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* Boxed list variant */
|
|
171
|
+
.ihub-style-list.boxed {
|
|
172
|
+
padding: 15px;
|
|
173
|
+
background-color: var(--OpacityBackground);
|
|
174
|
+
border-radius: 5px;
|
|
175
|
+
margin: 15px 0px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* Two column layout for desktop */
|
|
179
|
+
@media (min-width: 768px) {
|
|
180
|
+
.ihub-style-list.two-column ul,
|
|
181
|
+
.ihub-style-list.two-column ol {
|
|
182
|
+
display: flex;
|
|
183
|
+
flex-wrap: wrap;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.ihub-style-list.two-column ul li,
|
|
187
|
+
.ihub-style-list.two-column ol li {
|
|
188
|
+
width: 50%;
|
|
189
|
+
box-sizing: border-box;
|
|
190
|
+
padding-right: 1rem;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/* Special handling for task lists from TipTap */
|
|
195
|
+
.ihub-style-list ul[data-type="taskList"] {
|
|
196
|
+
list-style: none;
|
|
197
|
+
padding-left: 0;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.ihub-style-list ul[data-type="taskList"] li {
|
|
201
|
+
display: flex;
|
|
202
|
+
align-items: flex-start;
|
|
203
|
+
margin-bottom: 0.5rem;
|
|
204
|
+
padding-left: 0;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.ihub-style-list ul[data-type="taskList"] li::before {
|
|
208
|
+
content: none;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.ihub-style-list ul[data-type="taskList"] li[data-checked="true"] {
|
|
212
|
+
text-decoration: line-through;
|
|
213
|
+
color: var(--ChineseSilver);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/* Print styles */
|
|
217
|
+
@media print {
|
|
218
|
+
.ihub-style-list ul li::before,
|
|
219
|
+
.ihub-style-list ol li::before {
|
|
220
|
+
-webkit-print-color-adjust: exact;
|
|
221
|
+
print-color-adjust: exact;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extends.js","sources":["../../../../../../node_modules/@babel/runtime/helpers/esm/extends.js"],"sourcesContent":["function _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\nexport { _extends as default };"],"names":["_extends","Object","assign","bind","n","e","arguments","length","t","r","hasOwnProperty","call","apply"],"mappings":"AAAA,SAASA,IACP,OAAOA,EAAWC,OAAOC,OAASD,OAAOC,OAAOC,OAAS,SAAUC,GACjE,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CACzC,IAAIG,EAAIF,UAAUD,GAClB,IAAK,IAAII,KAAKD,GAAG,CAAG,GAAEE,eAAeC,KAAKH,EAAGC,KAAOL,EAAEK,GAAKD,EAAEC,GAC9D,CACD,OAAOL,CACR,EAAEJ,EAASY,MAAM,KAAMN,UAC1B"}
|