paraqeet 2.0.4 → 3.0.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 (71) hide show
  1. checksums.yaml +4 -4
  2. data/_sass/_bootstrap-icons.scss +30 -2
  3. data/_sass/_highlight.scss +19 -51
  4. data/_sass/_prose.scss +99 -69
  5. data/_sass/bootstrap/_card.scss +8 -8
  6. data/_sass/bootstrap/_functions.scss +1 -1
  7. data/_sass/bootstrap/_reboot.scss +6 -0
  8. data/_sass/bootstrap/_spinners.scss +1 -0
  9. data/_sass/bootstrap/mixins/_banner.scss +1 -1
  10. data/_sass/bootstrap/mixins/_box-shadow.scss +11 -5
  11. data/_sass/bootstrap/mixins/_visually-hidden.scss +5 -0
  12. data/_sass/bootstrap/tests/mixins/_box-shadow.test.scss +188 -0
  13. data/_sass/bootstrap/tests/mixins/_color-contrast.test.scss +139 -0
  14. data/assets/bootstrap-icons/anthropic.svg +3 -0
  15. data/assets/bootstrap-icons/apple-music.svg +3 -0
  16. data/assets/bootstrap-icons/battery-low.svg +4 -0
  17. data/assets/bootstrap-icons/beaker-fill.svg +3 -0
  18. data/assets/bootstrap-icons/beaker.svg +4 -0
  19. data/assets/bootstrap-icons/bluesky.svg +3 -0
  20. data/assets/bootstrap-icons/{font/bootstrap-icons.css → bootstrap-icons.css} +31 -3
  21. data/assets/bootstrap-icons/{font/bootstrap-icons.json → bootstrap-icons.json} +29 -1
  22. data/assets/bootstrap-icons/{font/bootstrap-icons.min.css → bootstrap-icons.min.css} +2 -2
  23. data/assets/bootstrap-icons/bootstrap-icons.svg +1 -1
  24. data/assets/bootstrap-icons/calendar3-event-fill.svg +1 -1
  25. data/assets/bootstrap-icons/calendar3-range-fill.svg +1 -1
  26. data/assets/bootstrap-icons/calendar3-week-fill.svg +1 -1
  27. data/assets/bootstrap-icons/claude.svg +3 -0
  28. data/assets/bootstrap-icons/css.svg +3 -0
  29. data/assets/bootstrap-icons/flask-fill.svg +3 -0
  30. data/assets/bootstrap-icons/flask-florence-fill.svg +3 -0
  31. data/assets/bootstrap-icons/flask-florence.svg +3 -0
  32. data/assets/bootstrap-icons/flask.svg +3 -0
  33. data/assets/bootstrap-icons/fonts/bootstrap-icons.woff +0 -0
  34. data/assets/bootstrap-icons/fonts/bootstrap-icons.woff2 +0 -0
  35. data/assets/bootstrap-icons/fork-knife.svg +3 -0
  36. data/assets/bootstrap-icons/globe-americas-fill.svg +3 -0
  37. data/assets/bootstrap-icons/globe-asia-australia-fill.svg +3 -0
  38. data/assets/bootstrap-icons/globe-central-south-asia-fill.svg +3 -0
  39. data/assets/bootstrap-icons/globe-europe-africa-fill.svg +3 -0
  40. data/assets/bootstrap-icons/javascript.svg +3 -0
  41. data/assets/bootstrap-icons/leaf-fill.svg +3 -0
  42. data/assets/bootstrap-icons/leaf.svg +3 -0
  43. data/assets/bootstrap-icons/lock-fill.svg +1 -1
  44. data/assets/bootstrap-icons/lock.svg +1 -1
  45. data/assets/bootstrap-icons/measuring-cup-fill.svg +3 -0
  46. data/assets/bootstrap-icons/measuring-cup.svg +3 -0
  47. data/assets/bootstrap-icons/meta.svg +1 -1
  48. data/assets/bootstrap-icons/openai.svg +3 -0
  49. data/assets/bootstrap-icons/perplexity.svg +3 -0
  50. data/assets/bootstrap-icons/tux.svg +4 -0
  51. data/assets/bootstrap-icons/typescript.svg +3 -0
  52. data/assets/bootstrap-icons/unlock-fill.svg +1 -1
  53. data/assets/bootstrap-icons/unlock.svg +1 -1
  54. data/assets/bootstrap-icons/unlock2-fill.svg +3 -0
  55. data/assets/bootstrap-icons/unlock2.svg +3 -0
  56. data/assets/js/bootstrap.bundle.js +7 -6
  57. data/assets/js/bootstrap.bundle.js.map +1 -1
  58. data/assets/js/bootstrap.bundle.min.js +2 -2
  59. data/assets/js/bootstrap.bundle.min.js.map +1 -1
  60. data/assets/js/bootstrap.esm.js +7 -6
  61. data/assets/js/bootstrap.esm.js.map +1 -1
  62. data/assets/js/bootstrap.esm.min.js +2 -2
  63. data/assets/js/bootstrap.esm.min.js.map +1 -1
  64. data/assets/js/bootstrap.js +7 -6
  65. data/assets/js/bootstrap.js.map +1 -1
  66. data/assets/js/bootstrap.min.js +2 -2
  67. data/assets/js/bootstrap.min.js.map +1 -1
  68. metadata +38 -12
  69. data/assets/bootstrap-icons/font/bootstrap-icons.scss +0 -2090
  70. data/assets/bootstrap-icons/font/fonts/bootstrap-icons.woff +0 -0
  71. data/assets/bootstrap-icons/font/fonts/bootstrap-icons.woff2 +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0394544ac0cc07e4e6bf453ffd724fff0e2bf6ea87078c4cfb56b6ef481e2043'
4
- data.tar.gz: 43977f3d0f8cb11fadd831c83c98e1a1a1d5c2ccf0d6853d7bdc47cd45f8ba70
3
+ metadata.gz: de35b356f71714168d46a57579b24d85e5fda6893780cf0c8be619bb1f8b9737
4
+ data.tar.gz: 4ac1707f91b69ad993ff274e79d3d242505689d774ddaf2022e1a13b6b0e2609
5
5
  SHA512:
6
- metadata.gz: 025e72e4aca102c737df837ebbf53bb722b2b95fc97b82f62343a3b7fa4a7efce6691e62d9a0c79d9bad5afe2aa04012983e88938d262e876339fc13be7cb3a8
7
- data.tar.gz: 46d271ee78862c06c3917857095f62d2204e97f0ced7527bbbfd598e90864655275cb9b2e9e99d5f08b5d82dda8e544361d4dd042420133bd07bf0b61245861f
6
+ metadata.gz: 5b04c6ffee1ac3aa5d5a4bbdafa552c3d7d10f0430050105953a37a9f2c44439c720ee2485f2c35cfe576aea6588462d26102b7ddab86624b00f98c1b65ac27b
7
+ data.tar.gz: ee1734c0ec1ffff7f959aa498cd9500d043a3b8124aa7d407932ee58c255a808d9f36d4bcae2ef91b42537f77a1f18e930bee0c0b880a6df6841c2c6e6094f3a
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * Bootstrap Icons v1.11.3 (https://icons.getbootstrap.com/)
2
+ * Bootstrap Icons v1.13.1 (https://icons.getbootstrap.com/)
3
3
  * Copyright 2019-2024 The Bootstrap Authors
4
4
  * Licensed under MIT (https://github.com/twbs/icons/blob/main/LICENSE)
5
5
  */
6
6
 
7
7
  $bootstrap-icons-font: "bootstrap-icons" !default;
8
- $bootstrap-icons-font-dir: "../bootstrap-icons/font/fonts" !default;
8
+ $bootstrap-icons-font-dir: "../bootstrap-icons/fonts" !default;
9
9
  $bootstrap-icons-font-file: "#{$bootstrap-icons-font-dir}/#{$bootstrap-icons-font}" !default;
10
10
  $bootstrap-icons-font-hash: "24e3eb84d0bcaf83d77f904c78ac1f47" !default;
11
11
  $bootstrap-icons-font-src: url("#{$bootstrap-icons-font-file}.woff2?#{$bootstrap-icons-font-hash}") format("woff2"),
@@ -2083,6 +2083,34 @@ $bootstrap-icons-map: (
2083
2083
  "suitcase2-fill": "\f901",
2084
2084
  "suitcase2": "\f902",
2085
2085
  "vignette": "\f903",
2086
+ "bluesky": "\f7f9",
2087
+ "tux": "\f904",
2088
+ "beaker-fill": "\f905",
2089
+ "beaker": "\f906",
2090
+ "flask-fill": "\f907",
2091
+ "flask-florence-fill": "\f908",
2092
+ "flask-florence": "\f909",
2093
+ "flask": "\f90a",
2094
+ "leaf-fill": "\f90b",
2095
+ "leaf": "\f90c",
2096
+ "measuring-cup-fill": "\f90d",
2097
+ "measuring-cup": "\f90e",
2098
+ "unlock2-fill": "\f90f",
2099
+ "unlock2": "\f910",
2100
+ "battery-low": "\f911",
2101
+ "anthropic": "\f912",
2102
+ "apple-music": "\f913",
2103
+ "claude": "\f914",
2104
+ "openai": "\f915",
2105
+ "perplexity": "\f916",
2106
+ "css": "\f917",
2107
+ "javascript": "\f918",
2108
+ "typescript": "\f919",
2109
+ "fork-knife": "\f91a",
2110
+ "globe-americas-fill": "\f91b",
2111
+ "globe-asia-australia-fill": "\f91c",
2112
+ "globe-central-south-asia-fill": "\f91d",
2113
+ "globe-europe-africa-fill": "\f91e",
2086
2114
  );
2087
2115
 
2088
2116
  @each $icon, $codepoint in $bootstrap-icons-map {
@@ -1,55 +1,23 @@
1
- :root,
2
- [data-bs-theme="light"] {
3
- --base00: #{$light};
4
- --base01: #{$pre-color};
5
- --base02: #{$text-muted};
6
- --base03: #{$gray-400};
7
- --base04: #{$blue-400};
8
- --base05: #{$indigo-400};
9
- --base06: #{$purple-400};
10
- --base07: #{$pink-400};
11
- --base08: #{$red-400};
12
- --base09: #{$orange-400};
13
- --base10: #{$yellow-100};
14
- --base11: #{$green-400};
15
- }
16
-
17
- @include color-mode(dark, true) {
18
- --base00: #{$black};
19
- }
20
-
21
1
  .highlight {
22
2
 
23
- & {
24
- width: 100%;
25
- margin: 0;
26
- padding: 0;
27
- background-color: var(--base00);
28
- border-radius: $border-radius;
29
- }
3
+ @extend .w-100;
4
+ @extend .p-0;
30
5
 
31
6
  * {
32
7
  font-size: $font-size-sm;
33
8
  }
34
9
 
35
- pre {
36
- margin: 0;
37
- padding: $spacer;
38
- color: var(--base01);
39
- }
40
-
41
10
  td {
42
-
43
11
  pre {
44
- padding: 0;
12
+ @extend .m-0;
13
+ @extend .p-0;
45
14
  }
46
-
47
15
  }
48
16
 
49
17
  .lineno {
50
- padding: 0 $spacer 0 0;
51
- text-align: right;
52
- color: var(--base02);
18
+ @extend .pe-3;
19
+ @extend .text-end;
20
+ @extend .text-body-secondary;
53
21
  }
54
22
 
55
23
  .o,
@@ -63,7 +31,7 @@
63
31
  .go,
64
32
  .ni,
65
33
  .w {
66
- color: var(--base03);
34
+ color: $gray-400;
67
35
  }
68
36
 
69
37
  .gh,
@@ -79,21 +47,21 @@
79
47
  .vg,
80
48
  .vi,
81
49
  .vm {
82
- color: var(--base04);
50
+ color: $blue-400;
83
51
  }
84
52
 
85
53
  .nd,
86
54
  .ow {
87
- color: var(--base05);
55
+ color: $indigo-400;
88
56
  }
89
57
 
90
58
  .gu {
91
- color: var(--base06);
59
+ color: $purple-400;
92
60
  }
93
61
 
94
62
  .si,
95
63
  .sr {
96
- color: var(--base07);
64
+ color: $pink-400;
97
65
  }
98
66
 
99
67
  .gd,
@@ -110,16 +78,16 @@
110
78
  .s1,
111
79
  .no,
112
80
  .ne {
113
- color: var(--base08);
81
+ color: $red-400;
114
82
  }
115
83
 
116
84
  .cp,
117
85
  .se {
118
- color: var(--base09);
86
+ color: $orange-400;
119
87
  }
120
88
 
121
89
  .hll {
122
- background-color: var(--base10);
90
+ background-color: $yellow-100;
123
91
  }
124
92
 
125
93
  .c,
@@ -141,7 +109,7 @@
141
109
  .gi,
142
110
  .na,
143
111
  .nl {
144
- color: var(--base11);
112
+ color: $green-400;
145
113
  }
146
114
 
147
115
  .k,
@@ -161,7 +129,7 @@
161
129
  .ow,
162
130
  .se,
163
131
  .si {
164
- font-weight: bold;
132
+ @extend .fw-bold;
165
133
  }
166
134
 
167
135
  .c,
@@ -172,11 +140,11 @@
172
140
  .cs,
173
141
  .ge,
174
142
  .sd {
175
- font-style: italic;
143
+ @extend .fst-italic;
176
144
  }
177
145
 
178
146
  .err {
179
- border: 1px solid var(--base08);
147
+ border: 1px solid $red-400;
180
148
  }
181
149
 
182
150
  }
data/_sass/_prose.scss CHANGED
@@ -1,85 +1,112 @@
1
1
  .prose {
2
2
 
3
- // Abbreviations
3
+ // abbr
4
4
  abbr {
5
- @include font-size($initialism-font-size);
6
- text-transform: uppercase;
5
+ @extend .initialism;
7
6
  }
8
7
 
9
- // Blockquotes
8
+ // blockquote
10
9
  blockquote {
11
- border-left: map-get($border-widths, 4) $border-style $border-color;
12
- padding-left: $spacer;
13
- font-style: italic;
14
-
15
- margin-bottom: $blockquote-margin-y;
16
- @include font-size($blockquote-font-size);
17
-
18
- > :last-child {
19
- margin-bottom: 0;
20
- }
21
-
22
- figcaption {
23
- margin-top: -$blockquote-margin-y;
24
- margin-bottom: $blockquote-margin-y;
25
- @include font-size($blockquote-footer-font-size);
26
- color: $blockquote-footer-color;
27
-
28
- &::before {
29
- content: "\2014\00A0";
30
- }
31
- }
10
+ @extend .blockquote;
32
11
  }
33
12
 
34
- // Figures
35
- figure {
36
- display: inline-block;
37
-
13
+ // figure
14
+ figure:not(.highlight figure) {
15
+ @extend .figure;
38
16
  figcaption {
39
- @include font-size($figure-caption-font-size);
40
- color: $figure-caption-color;
17
+ @extend .figure-caption;
18
+ }
19
+ blockquote {
20
+ + figcaption {
21
+ @extend .blockquote-footer;
22
+ }
41
23
  }
42
-
43
24
  img {
44
- margin-bottom: $spacer * .5;
45
- line-height: 1;
46
- @include img-fluid();
25
+ @extend .figure-img;
47
26
  }
48
27
  }
49
28
 
50
- // Images
51
- img {
52
- @include img-fluid();
29
+ // h1 - h6
30
+ h1 {
31
+ @extend .mb-5;
32
+ }
33
+ h2 {
34
+ @extend .mb-4;
35
+ }
36
+ h3 {
37
+ @extend .mb-4;
38
+ }
39
+ h4 {
40
+ @extend .mb-3;
41
+ }
42
+ h5 {
43
+ @extend .mb-3;
44
+ }
45
+ h6 {
46
+ @extend .mb-2;
53
47
  }
54
48
 
55
- pre:not(.highlight pre) {
56
- background: $light;
57
- margin-bottom: 0 0 map-get($spacers, 4) 0;
58
- padding: $spacer;
59
- color: $pre-color;
49
+ // hr
50
+ hr {
51
+ @extend .mt-5;
52
+ @extend .mb-5;
60
53
  }
61
54
 
62
- // Tables
63
- table:not(.highlight table) {
64
- width: 100%;
65
- margin-bottom: map-get($spacers, 4);
66
- color: var(--#{$prefix}table-color);
67
- vertical-align: $table-cell-vertical-align;
68
- border-color: var(--#{$prefix}table-border-color);
55
+ // img
56
+ img {
57
+ @extend .img-fluid;
58
+ }
69
59
 
70
- > :not(caption) > * > * {
71
- padding: $table-cell-padding-y $table-cell-padding-x;
72
- background-color: var(--#{$prefix}table-bg);
73
- border-bottom-width: $table-border-width;
74
- box-shadow: inset 0 0 0 9999px var(--#{$prefix}table-accent-bg);
60
+ // ol
61
+ ol {
62
+ list-style-type: decimal;
63
+ ol {
64
+ list-style-type: lower-alpha;
65
+ ol {
66
+ list-style-type: lower-roman;
67
+ ol {
68
+ list-style-type: decimal;
69
+ ol {
70
+ list-style-type: lower-alpha;
71
+ ol {
72
+ list-style-type: lower-roman;
73
+ }
74
+ }
75
+ }
76
+ }
75
77
  }
78
+ }
76
79
 
77
- > tbody {
78
- vertical-align: inherit;
79
- }
80
+ // pre
81
+ pre {
82
+ @extend .w-100;
83
+ @extend .bg-light;
84
+ @extend .p-3;
85
+ @extend .rounded;
86
+ }
80
87
 
81
- > thead {
82
- vertical-align: bottom;
88
+ // table
89
+ table:not(.highlight table) {
90
+ @extend .table;
91
+ }
92
+
93
+ // ol
94
+ ul {
95
+ list-style-type: disc;
96
+ ul {
97
+ list-style-type: circle;
98
+ ul {
99
+ list-style-type: square;
100
+ ul {
101
+ list-style-type: disc;
102
+ ul {
103
+ list-style-type: circle;
104
+ ul {
105
+ list-style-type: square;
106
+ }
107
+ }
108
+ }
109
+ }
83
110
  }
84
111
  }
85
112
 
@@ -87,19 +114,22 @@
87
114
  .highlight,
88
115
  address,
89
116
  dl,
117
+ figure:not(.highlight figure),
90
118
  form,
91
- h1,
92
- h2,
93
- h3,
94
- h4,
95
- h5,
96
119
  ol:not(li ol),
120
+ p,
121
+ pre,
122
+ table:not(.highlight table),
97
123
  ul:not(li ul) {
98
- margin-bottom: map-get($spacers, 4);
124
+ @extend .mb-4;
99
125
  }
100
126
 
101
- hr {
102
- margin: map-get($spacers, 5) 0;
103
- }
127
+ }
104
128
 
129
+ [data-bs-theme="dark"] {
130
+ .prose {
131
+ pre {
132
+ @extend .bg-black;
133
+ }
134
+ }
105
135
  }
@@ -206,13 +206,13 @@
206
206
  &:not(:last-child) {
207
207
  @include border-end-radius(0);
208
208
 
209
- .card-img-top,
210
- .card-header {
209
+ > .card-img-top,
210
+ > .card-header {
211
211
  // stylelint-disable-next-line property-disallowed-list
212
212
  border-top-right-radius: 0;
213
213
  }
214
- .card-img-bottom,
215
- .card-footer {
214
+ > .card-img-bottom,
215
+ > .card-footer {
216
216
  // stylelint-disable-next-line property-disallowed-list
217
217
  border-bottom-right-radius: 0;
218
218
  }
@@ -221,13 +221,13 @@
221
221
  &:not(:first-child) {
222
222
  @include border-start-radius(0);
223
223
 
224
- .card-img-top,
225
- .card-header {
224
+ > .card-img-top,
225
+ > .card-header {
226
226
  // stylelint-disable-next-line property-disallowed-list
227
227
  border-top-left-radius: 0;
228
228
  }
229
- .card-img-bottom,
230
- .card-footer {
229
+ > .card-img-bottom,
230
+ > .card-footer {
231
231
  // stylelint-disable-next-line property-disallowed-list
232
232
  border-bottom-left-radius: 0;
233
233
  }
@@ -157,7 +157,7 @@ $_luminance-list: .0008 .001 .0011 .0013 .0015 .0017 .002 .0022 .0025 .0027 .003
157
157
 
158
158
  @each $color in $foregrounds {
159
159
  $contrast-ratio: contrast-ratio($background, $color);
160
- @if $contrast-ratio > $min-contrast-ratio {
160
+ @if $contrast-ratio >= $min-contrast-ratio {
161
161
  @return $color;
162
162
  } @else if $contrast-ratio > $max-ratio {
163
163
  $max-ratio: $contrast-ratio;
@@ -534,6 +534,12 @@ legend {
534
534
  [type="search"] {
535
535
  -webkit-appearance: textfield; // 1
536
536
  outline-offset: -2px; // 2
537
+
538
+ // 3. Better affordance and consistent appearance for search cancel button
539
+ &::-webkit-search-cancel-button {
540
+ cursor: pointer;
541
+ filter: grayscale(1);
542
+ }
537
543
  }
538
544
 
539
545
  // 1. A few input types should stay LTR
@@ -5,6 +5,7 @@
5
5
  .spinner-grow,
6
6
  .spinner-border {
7
7
  display: inline-block;
8
+ flex-shrink: 0;
8
9
  width: var(--#{$prefix}spinner-width);
9
10
  height: var(--#{$prefix}spinner-height);
10
11
  vertical-align: var(--#{$prefix}spinner-vertical-align);
@@ -1,6 +1,6 @@
1
1
  @mixin bsBanner($file) {
2
2
  /*!
3
- * Bootstrap #{$file} v5.3.5 (https://getbootstrap.com/)
3
+ * Bootstrap #{$file} v5.3.8 (https://getbootstrap.com/)
4
4
  * Copyright 2011-2025 The Bootstrap Authors
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
6
6
  */
@@ -1,17 +1,23 @@
1
1
  @mixin box-shadow($shadow...) {
2
2
  @if $enable-shadows {
3
3
  $result: ();
4
+ $has-single-value: false;
5
+ $single-value: null;
4
6
 
5
7
  @each $value in $shadow {
6
8
  @if $value != null {
7
- $result: append($result, $value, "comma");
8
- }
9
- @if $value == none and length($shadow) > 1 {
10
- @warn "The keyword 'none' must be used as a single argument.";
9
+ @if $value == none or $value == initial or $value == inherit or $value == unset {
10
+ $has-single-value: true;
11
+ $single-value: $value;
12
+ } @else {
13
+ $result: append($result, $value, "comma");
14
+ }
11
15
  }
12
16
  }
13
17
 
14
- @if (length($result) > 0) {
18
+ @if $has-single-value {
19
+ box-shadow: $single-value;
20
+ } @else if (length($result) > 0) {
15
21
  box-shadow: $result;
16
22
  }
17
23
  }
@@ -19,6 +19,11 @@
19
19
  &:not(caption) {
20
20
  position: absolute !important;
21
21
  }
22
+
23
+ // Fix to prevent overflowing children to become focusable
24
+ * {
25
+ overflow: hidden !important;
26
+ }
22
27
  }
23
28
 
24
29
  // Use to only display content when it's focused, or one of its child elements is focused