@dolanske/vui 0.3.4 → 0.5.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.
Files changed (114) hide show
  1. package/LICENSE +673 -673
  2. package/README.md +41 -40
  3. package/dist/components/Dropdown/DropdownItem.vue.d.ts +1 -0
  4. package/dist/components/Flex/Flex.vue.d.ts +3 -1
  5. package/dist/components/Grid/Grid.vue.d.ts +3 -1
  6. package/dist/components/Tabs/Tabs.vue.d.ts +4 -0
  7. package/dist/style.css +1 -1
  8. package/dist/vui.js +1547 -1534
  9. package/package.json +68 -68
  10. package/src/App.vue +176 -175
  11. package/src/components/Accordion/Accordion.vue +91 -91
  12. package/src/components/Accordion/AccordionGroup.vue +43 -43
  13. package/src/components/Accordion/accordion.scss +81 -80
  14. package/src/components/Alert/Alert.vue +53 -53
  15. package/src/components/Alert/alert.scss +80 -80
  16. package/src/components/Avatar/Avatar.vue +50 -50
  17. package/src/components/Avatar/avatar.scss +52 -52
  18. package/src/components/Badge/Badge.vue +21 -21
  19. package/src/components/Badge/badge.scss +89 -89
  20. package/src/components/Breadcrumbs/BreadcrumbItem.vue +26 -26
  21. package/src/components/Breadcrumbs/Breadcrumbs.vue +33 -33
  22. package/src/components/Breadcrumbs/breadcrumbs.scss +30 -30
  23. package/src/components/Button/Button.vue +90 -90
  24. package/src/components/Button/button.scss +178 -176
  25. package/src/components/ButtonGroup/ButtonGroup.vue +25 -25
  26. package/src/components/ButtonGroup/button-group.scss +51 -51
  27. package/src/components/Calendar/Calendar.vue +63 -60
  28. package/src/components/Calendar/calendar.scss +60 -56
  29. package/src/components/Card/Card.vue +48 -48
  30. package/src/components/Card/card.scss +53 -53
  31. package/src/components/Checkbox/Checkbox.vue +51 -52
  32. package/src/components/Checkbox/checkbox.scss +75 -66
  33. package/src/components/CopyClipboard/CopyClipboard.vue +82 -82
  34. package/src/components/CopyClipboard/copy-clipboard.scss +17 -17
  35. package/src/components/Divider/Divider.vue +44 -44
  36. package/src/components/Divider/divider.scss +35 -35
  37. package/src/components/Drawer/Drawer.vue +97 -97
  38. package/src/components/Drawer/drawer.scss +36 -36
  39. package/src/components/Dropdown/Dropdown.vue +111 -111
  40. package/src/components/Dropdown/DropdownItem.vue +33 -29
  41. package/src/components/Dropdown/DropdownTitle.vue +8 -8
  42. package/src/components/Dropdown/dropdown-item.scss +77 -0
  43. package/src/components/Dropdown/dropdown.scss +39 -117
  44. package/src/components/Flex/Flex.vue +113 -106
  45. package/src/components/Grid/Grid.vue +60 -54
  46. package/src/components/Input/Counter.vue +70 -70
  47. package/src/components/Input/Dropzone.vue +65 -65
  48. package/src/components/Input/File.vue +15 -15
  49. package/src/components/Input/Input.vue +121 -121
  50. package/src/components/Input/Password.vue +47 -47
  51. package/src/components/Input/Textarea.vue +76 -76
  52. package/src/components/Input/input.scss +208 -208
  53. package/src/components/Kbd/Kbd.vue +48 -48
  54. package/src/components/Kbd/KbdGroup.vue +31 -31
  55. package/src/components/Kbd/kbd.scss +18 -18
  56. package/src/components/Modal/Confirm.vue +56 -56
  57. package/src/components/Modal/Modal.vue +91 -91
  58. package/src/components/Modal/modal.scss +49 -49
  59. package/src/components/OTP/OTP.vue +133 -133
  60. package/src/components/OTP/OTPItem.vue +37 -37
  61. package/src/components/OTP/otp.scss +83 -83
  62. package/src/components/Pagination/Pagination.vue +74 -74
  63. package/src/components/Pagination/pagination.ts +78 -78
  64. package/src/components/Popout/Popout.vue +42 -42
  65. package/src/components/Popout/popout.scss +8 -8
  66. package/src/components/Progress/Progress.vue +90 -90
  67. package/src/components/Progress/progress.scss +41 -41
  68. package/src/components/Radio/Radio.vue +36 -36
  69. package/src/components/Radio/RadioGroup.vue +40 -40
  70. package/src/components/Radio/radio.scss +68 -59
  71. package/src/components/Select/Select.vue +180 -180
  72. package/src/components/Select/select.scss +44 -44
  73. package/src/components/Sheet/Sheet.vue +92 -92
  74. package/src/components/Sheet/sheet.scss +60 -60
  75. package/src/components/Sidebar/Sidebar.vue +102 -0
  76. package/src/components/Sidebar/sidebar.scss +123 -0
  77. package/src/components/Skeleton/Skeleton.vue +43 -43
  78. package/src/components/Skeleton/skeleton.scss +14 -14
  79. package/src/components/Spinner/Spinner.vue +42 -42
  80. package/src/components/Spinner/spinner.scss +46 -46
  81. package/src/components/Switch/Switch.vue +30 -30
  82. package/src/components/Switch/switch.scss +60 -52
  83. package/src/components/Table/Cell.vue +23 -23
  84. package/src/components/Table/Header.vue +59 -59
  85. package/src/components/Table/Row.vue +9 -9
  86. package/src/components/Table/SelectAll.vue +23 -23
  87. package/src/components/Table/SelectRow.vue +29 -29
  88. package/src/components/Table/Table.vue +66 -66
  89. package/src/components/Table/table.scss +134 -134
  90. package/src/components/Table/table.ts +244 -244
  91. package/src/components/Tabs/Tab.vue +27 -27
  92. package/src/components/Tabs/Tabs.vue +89 -82
  93. package/src/components/Tabs/tabs.scss +80 -79
  94. package/src/components/Toast/Toasts.vue +47 -47
  95. package/src/components/Toast/toast.scss +41 -41
  96. package/src/components/Toast/toast.ts +68 -68
  97. package/src/components/Tooltip/Tooltip.vue +86 -86
  98. package/src/components/Tooltip/tooltip.scss +4 -4
  99. package/src/index.scss +1 -1
  100. package/src/index.ts +119 -119
  101. package/src/internal/Backdrop/Backdrop.vue +22 -22
  102. package/src/internal/Backdrop/backdrop.scss +28 -28
  103. package/src/main.ts +5 -5
  104. package/src/shared/helpers.ts +74 -74
  105. package/src/shared/types.ts +29 -29
  106. package/src/style/animation.scss +21 -21
  107. package/src/style/core.scss +150 -148
  108. package/src/style/layout.scss +168 -136
  109. package/src/style/media-query.scss +29 -29
  110. package/src/style/reset.scss +135 -135
  111. package/src/style/{fonts.scss → text.scss} +74 -53
  112. package/src/style/tooltip.scss +128 -128
  113. package/src/style/typography.scss +338 -338
  114. package/src/style/utils.scss +36 -36
package/package.json CHANGED
@@ -1,68 +1,68 @@
1
- {
2
- "name": "@dolanske/vui",
3
- "type": "module",
4
- "version": "0.3.4",
5
- "private": false,
6
- "description": "Brother in Christ there's a new UI library ",
7
- "author": "dolanske",
8
- "license": "GPL-3.0",
9
- "sass": "src/index.scss",
10
- "repository": {
11
- "type": "git",
12
- "url": "https://github.com/dolanske/vui.git"
13
- },
14
- "keywords": [
15
- "vue",
16
- "vue3",
17
- "component"
18
- ],
19
- "exports": {
20
- ".": {
21
- "types": "./dist/index.d.ts",
22
- "import": "./dist/vui.js"
23
- },
24
- "./style": {
25
- "import": "./dist/style.css",
26
- "require": "./dist/style.css",
27
- "default": "./dist/style.css"
28
- }
29
- },
30
- "main": "./dist/vuicjs",
31
- "module": "./dist/vui.js",
32
- "browser": "./dist/vui.js",
33
- "unpkg": "./dist/vui.js",
34
- "types": "./dist/index.d.ts",
35
- "files": [
36
- "./dist/*",
37
- "./src/*",
38
- "LICENSE",
39
- "README.md"
40
- ],
41
- "scripts": {
42
- "dev": "vite",
43
- "build": "vue-tsc -b && vite build",
44
- "preview": "vite preview",
45
- "lint": "eslint .",
46
- "lint:fix": "eslint . --fix"
47
- },
48
- "dependencies": {
49
- "@floating-ui/vue": "^1.1.5",
50
- "@types/node": "^22.9.0",
51
- "@vuepic/vue-datepicker": "^10.0.0",
52
- "@vueuse/core": "^11.2.0",
53
- "sass": "^1.80.6",
54
- "vaul-vue": "^0.2.0",
55
- "vite-plugin-dts": "^4.3.0",
56
- "vue": "^3.5.12"
57
- },
58
- "devDependencies": {
59
- "@antfu/eslint-config": "^3.8.0",
60
- "@iconify/vue": "^4.1.2",
61
- "@vitejs/plugin-vue": "^5.1.5",
62
- "eslint": "^9.14.0",
63
- "eslint-plugin-format": "^0.1.2",
64
- "typescript": "^5.6.3",
65
- "vite": "^5.4.11",
66
- "vue-tsc": "^2.1.10"
67
- }
68
- }
1
+ {
2
+ "name": "@dolanske/vui",
3
+ "type": "module",
4
+ "version": "0.5.0",
5
+ "private": false,
6
+ "description": "Brother in Christ there's a new UI library ",
7
+ "author": "dolanske",
8
+ "license": "GPL-3.0",
9
+ "sass": "src/index.scss",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/dolanske/vui.git"
13
+ },
14
+ "keywords": [
15
+ "vue",
16
+ "vue3",
17
+ "component"
18
+ ],
19
+ "exports": {
20
+ ".": {
21
+ "types": "./dist/index.d.ts",
22
+ "import": "./dist/vui.js"
23
+ },
24
+ "./style": {
25
+ "import": "./dist/style.css",
26
+ "require": "./dist/style.css",
27
+ "default": "./dist/style.css"
28
+ }
29
+ },
30
+ "main": "./dist/vuicjs",
31
+ "module": "./dist/vui.js",
32
+ "browser": "./dist/vui.js",
33
+ "unpkg": "./dist/vui.js",
34
+ "types": "./dist/index.d.ts",
35
+ "files": [
36
+ "./dist/*",
37
+ "./src/*",
38
+ "LICENSE",
39
+ "README.md"
40
+ ],
41
+ "scripts": {
42
+ "dev": "vite",
43
+ "build": "vue-tsc -b && vite build",
44
+ "preview": "vite preview",
45
+ "lint": "eslint .",
46
+ "lint:fix": "eslint . --fix"
47
+ },
48
+ "dependencies": {
49
+ "@floating-ui/vue": "^1.1.5",
50
+ "@types/node": "^22.9.0",
51
+ "@vuepic/vue-datepicker": "^11.0.1",
52
+ "@vueuse/core": "^11.2.0",
53
+ "sass": "^1.80.6",
54
+ "vaul-vue": "^0.2.0",
55
+ "vite-plugin-dts": "^4.3.0",
56
+ "vue": "^3.5.12"
57
+ },
58
+ "devDependencies": {
59
+ "@antfu/eslint-config": "^3.8.0",
60
+ "@iconify/vue": "^4.1.2",
61
+ "@vitejs/plugin-vue": "^5.1.5",
62
+ "eslint": "^9.14.0",
63
+ "eslint-plugin-format": "^0.1.2",
64
+ "typescript": "^5.6.3",
65
+ "vite": "^5.4.11",
66
+ "vue-tsc": "^2.1.10"
67
+ }
68
+ }
package/src/App.vue CHANGED
@@ -1,175 +1,176 @@
1
- <script setup lang="ts">
2
- import { ref } from 'vue'
3
- import Avatar from './components/Avatar/Avatar.vue'
4
- import Button from './components/Button/Button.vue'
5
- import Divider from './components/Divider/Divider.vue'
6
- import Dropdown from './components/Dropdown/Dropdown.vue'
7
-
8
- import DropdownItem from './components/Dropdown/DropdownItem.vue'
9
- import Flex from './components/Flex/Flex.vue'
10
- import Tab from './components/Tabs/Tab.vue'
11
- import Tabs from './components/Tabs/Tabs.vue'
12
- import Tooltip from './components/Tooltip/Tooltip.vue'
13
-
14
- const tab = ref('components')
15
- </script>
16
-
17
- <template>
18
- <main vaul-drawer-wrapper>
19
- <Tabs v-model="tab" expand>
20
- <Tab id="home" label="Home" icon="ph:house" />
21
- <Tab id="components" label="Components" />
22
- <Tab id="typography" label="Typography" />
23
- </Tabs>
24
- <div style="margin-bottom: 64px;" />
25
- <div v-if="tab === 'home'">
26
- home
27
- </div>
28
-
29
- <div v-if="tab === 'components'">
30
- <h1 class="mb-xl">
31
- Hii
32
- <span class="counter text-color-accent">129</span>
33
- </h1>
34
- <p>I am down</p>
35
-
36
- <Flex>
37
- <Avatar size="s" />
38
- <Avatar size="m" />
39
- <Avatar size="l" />
40
- <Avatar :size="128" />
41
- </Flex>
42
-
43
- <Divider />
44
-
45
- <Tooltip>
46
- <span class="block mb-xl">Hello world</span>
47
- <template #tooltip>
48
- <p>
49
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Porro, animi! Nobis maxime neque cumque, in a amet voluptatibus tenetur dicta eos delectus illo soluta aliquam voluptatum nulla? In, incidunt asperiores?
50
- </p>
51
- </template>
52
- </Tooltip>
53
-
54
- <Dropdown>
55
- <template #trigger="{ toggle }">
56
- <Button aria-label="Dropdown menu trigger" square icon="ph:x" @click="toggle" />
57
- </template>
58
- <DropdownItem>Hiiii</DropdownItem>
59
- </Dropdown>
60
- </div>
61
- <div v-else-if="tab === 'typography'" class="typeset" :style="{ maxWidth: '688px', margin: 'auto' }">
62
- <h1>The Joke Tax Chronicles</h1>
63
- <p>Once upon a time, in a far-off land, there <code>was a very lazy</code> king who spent all day lounging on his throne. One day, his advisors came to him with a problem: the kingdom was running out of money</p>
64
- <h2>The King's Plan</h2>
65
- <p>The king thought long and hard, and finally came up with <a href="#">a brilliant plan</a>: he would tax the jokes in the kingdom.</p>
66
- <blockquote>"After all," he said, "everyone enjoys a good joke, so it's only fair that they should pay for the privilege."</blockquote>
67
- <h3>The Joke Tax</h3>
68
- <p>The king's subjects were not amused. They grumbled and complained, but the king was firm:</p>
69
- <ul class="ul">
70
- <li>
71
- I am an item
72
- <ul>
73
- <li>1st level of puns: 5 gold coins</li>
74
- <li>2nd level of jokes: 10 gold coins</li>
75
- <li>
76
- 3rd level of one-liners : 20 gold coins
77
- <ul>
78
- <li>1st level of puns: 5 gold coins</li>
79
- <li>2nd level of jokes: 10 gold coins</li>
80
- <li>3rd level of one-liners : 20 gold coins</li>
81
- </ul>
82
- </li>
83
- </ul>
84
- </li>
85
- <li>2nd level of jokes: 10 gold coins</li>
86
- <li>3rd level of one-liners : 20 gold coins</li>
87
- </ul>
88
- <p>As a result, people stopped telling jokes, and the kingdom fell into a gloom. But there was one person who refused to let the king's foolishness get him down: a court jester named Jokester.</p>
89
-
90
- <figure>
91
- <img src="https://i.imgur.com/6WQYrfN.jpeg" alt="">
92
- <figcaption>Woah look at these mountains</figcaption>
93
- </figure>
94
-
95
- <h3>Jokester's Revolt</h3>
96
- <p>Jokester began sneaking into the castle in the middle of the night and leaving jokes all over the place: under the king's pillow, in his soup, even in the royal toilet. The king was furious, but he couldn't seem to stop Jokester.</p>
97
- <hr>
98
- <p>And then, one day, the people of the kingdom discovered that the jokes left by Jokester were so funny that they couldn't help but laugh. And once they started laughing, they couldn't stop.</p>
99
- <ol>
100
- <li>But the kind was stupid</li>
101
- <li>He was ratioed 5 times</li>
102
- </ol>
103
- <h3>The People's Rebellion</h3>
104
- <p>The people of the kingdom, feeling uplifted by the laughter, started to tell jokes and puns again, and soon the entire kingdom was in on the joke.</p>
105
-
106
- <table>
107
- <thead>
108
- <tr>
109
- <th>King's Treasury</th>
110
- <th>People's happiness</th>
111
- </tr>
112
- </thead>
113
- <tbody>
114
- <tr>
115
- <td>Empty</td>
116
- <td>And then, one day, the people of the kingdom discovered that the jokes left by Jokester were so funny that they couldn't help but laugh. And once they started laughing, they couldn't stop.</td>
117
- </tr>
118
- <tr>
119
- <td>Modest</td>
120
- <td>Satisfied</td>
121
- </tr>
122
- <tr>
123
- <td>Full</td>
124
- <td>Ecstatic</td>
125
- </tr>
126
- </tbody>
127
- </table>
128
- <p>The king, seeing how much happier his subjects were, realized the error of his ways and repealed the joke tax. Jokester was declared a hero, and the kingdom lived happily ever after.</p>
129
- <p>The moral of the story is: never <code>underestimate</code> the power of a good laugh and always be careful of bad ideas.</p>
130
-
131
- <pre data-lang="JSON">
132
- {
133
- "type": "Feature",
134
- "properties": {
135
- "mag": 1.5,
136
- "place": "77kmNWofSkwentna,Alaska",
137
- "time": 1668256022741,
138
- "updated": 1668256203692,
139
- "tz": null,
140
- "url": "https://earthquake.usgs.gov/earthquakes/eventpage/ak022eit4nup",
141
- "detail": "https://earthquake.usgs.gov/earthquakes/feed/v1.0/detail/ak022eit4nup.geojson",
142
- "felt": null,
143
- "cdi": null,
144
- "mmi": null,
145
- "alert": null,
146
- "status": "automatic",
147
- "tsunami": 0,
148
- "sig": 35,
149
- "net": "ak",
150
- "code": "022eit4nup",
151
- "ids": ",ak022eit4nup,",
152
- "sources": ",ak,",
153
- "types": ",origin,phase-data,",
154
- "nst": null,
155
- "dmin": null,
156
- "rms": 0.55,
157
- "gap": null,
158
- "magType": "ml",
159
- "type": "earthquake",
160
- "title": "M1.5-77kmNWofSkwentna,Alaska"
161
- },
162
- "geometry": {
163
- "type": "Point",
164
- "coordinates": [
165
- -152.2722,
166
- 62.5489,
167
- 4.5
168
- ]
169
- },
170
- "id": "ak022eit4nup"
171
- },
172
- </pre>
173
- </div>
174
- </main>
175
- </template>
1
+ <script setup lang="ts">
2
+ import { ref } from 'vue'
3
+
4
+ import Button from './components/Button/Button.vue'
5
+ import Calendar from './components/Calendar/Calendar.vue'
6
+ import DropdownItem from './components/Dropdown/DropdownItem.vue'
7
+ import Sidebar from './components/Sidebar/Sidebar.vue'
8
+ import Tab from './components/Tabs/Tab.vue'
9
+
10
+ import Tabs from './components/Tabs/Tabs.vue'
11
+
12
+ const tab = ref('components')
13
+ const sidebarOpen = ref(false)
14
+ const date = ref(new Date())
15
+ </script>
16
+
17
+ <template>
18
+ <div class="vui-sidebar-layout">
19
+ <Sidebar v-model="sidebarOpen" appear floaty>
20
+ <template #header>
21
+ <img class="p-xs" style="background:white;border-radius: 16px;width:40px" src="https://dolansky.dev/backgrounds/star.svg" alt="">
22
+ </template>
23
+ <DropdownItem icon="ph:house">
24
+ Home
25
+ </DropdownItem>
26
+ <DropdownItem icon="ph:signpost">
27
+ Routing
28
+ </DropdownItem>
29
+ <template #footer>
30
+ <Button size="l" expand>
31
+ Sign out
32
+ </Button>
33
+ </template>
34
+ </Sidebar>
35
+
36
+ <main vaul-drawer-wrapper>
37
+ <Tabs v-model="tab" expand>
38
+ <template #start>
39
+ <Button icon="ph:sidebar-simple-bold" square @click="sidebarOpen = !sidebarOpen" />
40
+ </template>
41
+
42
+ <Tab id="home" label="Home" icon="ph:house" />
43
+ <Tab id="components" label="Components" />
44
+ <Tab id="typography" label="Typography" />
45
+ </Tabs>
46
+ <div style="margin-bottom: 64px;" />
47
+ <div v-if="tab === 'home'">
48
+ <div class="container container-xs">
49
+ <p class="text-overflow mb-m">
50
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugiat deleniti alias a, non incidunt temporibus aperiam ducimus enim ut necessitatibus, id ab quod ex architecto, accusamus esse sed nostrum quae?
51
+ </p>
52
+ <p v-for="item in 10" :key="item" :class="`text-overflow-${item} mb-m`">
53
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugiat deleniti alias a, non incidunt temporibus aperiam ducimus enim ut necessitatibus, id ab quod ex architecto, accusamus esse sed nostrum quae? Lorem ipsum dolor sit amet consectetur, adipisicing elit. Mollitia ducimus perferendis, soluta molestias saepe incidunt officiis doloribus alias omnis id praesentium impedit possimus quibusdam? Laudantium porro fugiat eius. Voluptatum, id!
54
+ </p>
55
+ </div>
56
+ </div>
57
+
58
+ <div v-if="tab === 'components'">
59
+ <Calendar v-model="date" time />
60
+ </div>
61
+ <div v-else-if="tab === 'typography'" class="typeset" :style="{ maxWidth: '688px', margin: 'auto' }">
62
+ <h1>The Joke Tax Chronicles</h1>
63
+ <p>Once upon a time, in a far-off land, there <code>was a very lazy</code> king who spent all day lounging on his throne. One day, his advisors came to him with a problem: the kingdom was running out of money</p>
64
+ <h2>The King's Plan</h2>
65
+ <p>The king thought long and hard, and finally came up with <a href="#">a brilliant plan</a>: he would tax the jokes in the kingdom.</p>
66
+ <blockquote>"After all," he said, "everyone enjoys a good joke, so it's only fair that they should pay for the privilege."</blockquote>
67
+ <h3>The Joke Tax</h3>
68
+ <p>The king's subjects were not amused. They grumbled and complained, but the king was firm:</p>
69
+ <ul class="ul">
70
+ <li>
71
+ I am an item
72
+ <ul>
73
+ <li>1st level of puns: 5 gold coins</li>
74
+ <li>2nd level of jokes: 10 gold coins</li>
75
+ <li>
76
+ 3rd level of one-liners : 20 gold coins
77
+ <ul>
78
+ <li>1st level of puns: 5 gold coins</li>
79
+ <li>2nd level of jokes: 10 gold coins</li>
80
+ <li>3rd level of one-liners : 20 gold coins</li>
81
+ </ul>
82
+ </li>
83
+ </ul>
84
+ </li>
85
+ <li>2nd level of jokes: 10 gold coins</li>
86
+ <li>3rd level of one-liners : 20 gold coins</li>
87
+ </ul>
88
+ <p>As a result, people stopped telling jokes, and the kingdom fell into a gloom. But there was one person who refused to let the king's foolishness get him down: a court jester named Jokester.</p>
89
+
90
+ <figure>
91
+ <img src="https://i.imgur.com/6WQYrfN.jpeg" alt="">
92
+ <figcaption>Woah look at these mountains</figcaption>
93
+ </figure>
94
+
95
+ <h3>Jokester's Revolt</h3>
96
+ <p>Jokester began sneaking into the castle in the middle of the night and leaving jokes all over the place: under the king's pillow, in his soup, even in the royal toilet. The king was furious, but he couldn't seem to stop Jokester.</p>
97
+ <hr>
98
+ <p>And then, one day, the people of the kingdom discovered that the jokes left by Jokester were so funny that they couldn't help but laugh. And once they started laughing, they couldn't stop.</p>
99
+ <ol>
100
+ <li>But the kind was stupid</li>
101
+ <li>He was ratioed 5 times</li>
102
+ </ol>
103
+ <h3>The People's Rebellion</h3>
104
+ <p>The people of the kingdom, feeling uplifted by the laughter, started to tell jokes and puns again, and soon the entire kingdom was in on the joke.</p>
105
+
106
+ <table>
107
+ <thead>
108
+ <tr>
109
+ <th>King's Treasury</th>
110
+ <th>People's happiness</th>
111
+ </tr>
112
+ </thead>
113
+ <tbody>
114
+ <tr>
115
+ <td>Empty</td>
116
+ <td>And then, one day, the people of the kingdom discovered that the jokes left by Jokester were so funny that they couldn't help but laugh. And once they started laughing, they couldn't stop.</td>
117
+ </tr>
118
+ <tr>
119
+ <td>Modest</td>
120
+ <td>Satisfied</td>
121
+ </tr>
122
+ <tr>
123
+ <td>Full</td>
124
+ <td>Ecstatic</td>
125
+ </tr>
126
+ </tbody>
127
+ </table>
128
+ <p>The king, seeing how much happier his subjects were, realized the error of his ways and repealed the joke tax. Jokester was declared a hero, and the kingdom lived happily ever after.</p>
129
+ <p>The moral of the story is: never <code>underestimate</code> the power of a good laugh and always be careful of bad ideas.</p>
130
+
131
+ <pre data-lang="JSON">
132
+ {
133
+ "type": "Feature",
134
+ "properties": {
135
+ "mag": 1.5,
136
+ "place": "77kmNWofSkwentna,Alaska",
137
+ "time": 1668256022741,
138
+ "updated": 1668256203692,
139
+ "tz": null,
140
+ "url": "https://earthquake.usgs.gov/earthquakes/eventpage/ak022eit4nup",
141
+ "detail": "https://earthquake.usgs.gov/earthquakes/feed/v1.0/detail/ak022eit4nup.geojson",
142
+ "felt": null,
143
+ "cdi": null,
144
+ "mmi": null,
145
+ "alert": null,
146
+ "status": "automatic",
147
+ "tsunami": 0,
148
+ "sig": 35,
149
+ "net": "ak",
150
+ "code": "022eit4nup",
151
+ "ids": ",ak022eit4nup,",
152
+ "sources": ",ak,",
153
+ "types": ",origin,phase-data,",
154
+ "nst": null,
155
+ "dmin": null,
156
+ "rms": 0.55,
157
+ "gap": null,
158
+ "magType": "ml",
159
+ "type": "earthquake",
160
+ "title": "M1.5-77kmNWofSkwentna,Alaska"
161
+ },
162
+ "geometry": {
163
+ "type": "Point",
164
+ "coordinates": [
165
+ -152.2722,
166
+ 62.5489,
167
+ 4.5
168
+ ]
169
+ },
170
+ "id": "ak022eit4nup"
171
+ },
172
+ </pre>
173
+ </div>
174
+ </main>
175
+ </div>
176
+ </template>